Re: META-INF/context.xml and deploy issue (web.xml removed?)

2014-12-04 Thread m...@ow2.org
Hi, Is anyone can help me to find out what I am missing ? Thanks Le 02/12/2014 10:36, m...@ow2.org a écrit : > Hello, > > I'm facing an issue with tomcat 6. In order to setup a JDNI, we > added a context.xml file to our application (XWiki) in the > already-deployed folder we

META-INF/context.xml and deploy issue

2014-12-02 Thread m...@ow2.org
Hello, I'm facing an issue with tomcat 6. In order to setup a JDNI, we added a context.xml file to our application (XWiki) in the already-deployed folder webapps/xwiki/META-INF/ and configured the existing webapps/xwiki/WEB-INF/web.xml accordingly. update of web.xml triggered the app reload which

Re: Static class across multiple tomcats?

2007-03-31 Thread org
I think sharing a common class across servlets can get tricky... I've never tried it using Tomcats intrinsic technology, but I think if you if you want to go this way then read up on the ServletContextListener. Lets you look at what other servlets are up to, so you could make something that look

Re: Virtual Memory or Mem usage monitoring

2007-03-30 Thread org
I also do this, if I have threads and opening and closing db connections etc nice way to watch the thing running. I find memory is not the thing to watch other than telling you in general that the machine doesnt have enough. Watch the HANDLES those things should be go up and come down qui

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

2007-03-29 Thread org
Something like this In Form In servlet String sValueStart = request.getParameter("start"); //The one clicked will have a value String sValueStop = request.getParameter("stop"); //The one clicked will have a value Write reponse to Text Area etc... - Original Message - From: "T

Re: Is it possible somehow for Tomcat to serve ASP.NET pages?

2007-03-28 Thread org
Easy to simulate, Add Thread.Sleep(1) and then print a blue screen ha ha, dont shoot me, just kidding. No, I dont think it will ever happen, I think the problem will always be that programmers on .NET dig into the win32 system too much and use add-on stuff like MS transaction servers

Re: A second administration port

2007-03-28 Thread org
Here you go found some docs can check all settings 4 ure self 2. Configuring the Manager Web Application The Manager web application lets you perform simple management tasks on your web applications through a more simplified web user interface than that of the Admin web app. The

Re: A second administration port

2007-03-28 Thread org
Actually I'm wrong, its the Admin option that I think must be installed, so it should work anyway. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, March 27, 2007 8:59 AM Subject: A second administration port Tomcat : 5.5.20 Java : BEA JRockit 1.5.0_08 Hello, I

Re: A second administration port

2007-03-28 Thread org
Hi jean Should work... You made something like this... minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="2" disableUploadTimeout="true" /> And http://localhost:/ will work just the same??? I'm probably mi

Re: Basic Auth without web.xml not working

2007-03-28 Thread org
Ha ha... sounds like you looking for a magic function, which reminds me of my first computer program... got to tell you :) A million years ago in my 1st year I was walking past the varsity main frame, I'd heard all sorts of things about this amazing beast... so I walked in, watched someone usi

Re: FileUpload to different machine

2007-03-28 Thread org
A long time now since I played with Debian, but if I remember correctly just make your java program be able to write to a linux folder /etc/whatever, then get SAMBA, it allows you to map linux drives to windows and visa versa, then you will simply map a windows share to a lnked drive on linux, y

Re: Basic Auth without web.xml not working

2007-03-27 Thread org
Hi Tony, Mmmm, kinda understand what you saying something like this, Tomcat wants to check the users at the FRONT DOOR, and either kick them back onto the street or let them in, but you want to let them ALL in and let some use the dining room and some use the kitchen you trying to be

Re: Running Java Apps From The Browser

2007-03-26 Thread org
A lot of guys asking me how to get java to automatically install if client does not have JRE. This is not an all platform solution unfortunately, but nevertheless it works for IE users. Place this is your web page http://java.sun.com/update/1.5.0/jinstall-1_5_0_11-windows-i586.cab"; classid="

Re: Service instance serialization question

2007-03-26 Thread org
private String synchronization MyServletHardwareCallingRoutine(HttpRequest BlaBla){ CALL THE HARDWARE HERE return INFO } SYNCHRONIZATION will allow only one thread at a time, so they will Q. BUT so will the clients wait. If the clients do not need a reply from the hardware then private vo

Re: Question about lib folder of Webapps

2007-03-25 Thread org
Too much pain... get yourself Netbeans, doing everything by hand is near impossible. In netbeans you can drop in your libs, make your JSP, debug it and deploy it. Good luck - Original Message - From: Evrim Agha To: Tomcat User Sent: Sunday, March 25, 2007 9:09 AM Subject: Que

Re: How do I get the http://localhost/jkstatus page to display/installed

2007-03-23 Thread org
Hi Robert, Try get to it through the APACHE box http://apachebox/jkstatus Below I MODIFIED some entries to make it look better... I think you almost have it right... regards Johnny - Original Message - Thanks, but I already have that added. It appears that I don't have the jksta

Re: How do I get the http://localhost/jkstatus page to display/installed

2007-03-22 Thread org
# Add the jkstatus mount point JkMount /jkstatus jkstatus - Original Message - From: "Robert Young" <[EMAIL PROTECTED]> To: Sent: Thursday, March 22, 2007 11:56 PM Subject: How do I get the http://localhost/jkstatus page to display/installed Hello, I have installed apache 2.2

Re: Unable to compile class for JSP

2007-03-22 Thread org
Hi Peter, I probably got the wrong end of the stick, missed the thread etc, but its seems like you going through a whole lot of pain so I was wondering. If you have a servlet and a bunch of JSP pages, did you know that the JSP's will not compile when you Clean and Build in Netbeans. If you

Re: connection pool

2007-03-22 Thread org
I dont use Tomcats built in db pooling, use a different one, but I think the problem is not that it drops the connection, because any pool should simply reallocate a new one when needed. I have a feeling you are exhausting all the available connections, and the pool cant give you a new one. A

Running Java Apps From The Browser

2007-03-22 Thread org
Hi Teh Noranis Mohd Aris, Hope you read this. I remember you having problems with Applets, namely trying to get around security issues. Just want to tell you I made IGNITION, which you can get at http://coolese.100free.com You drop your applications into a folder on the servlet point a bro

Re: how to configure the tomcat to automatically update class instances when a class file changed

2007-03-15 Thread org
Hello again SANGAMESHWAR In the servlet.xml config file you will see the The autoDeploy="true" means the sevlet will reload if anything is changed under WEB-INF So if you drop another library class in, or say change web.xml, that servlet will restart WHEN IT IS IDLE. If you have a thread runnin

Re: JSP page not updated on each request

2007-03-15 Thread org
Mmmm, dont know I think the browser should be picking up file changes, but if you want to make sure the browser doesnt cache, then if I remember correctly search for NO-CACHE and set the headers returned, the browser will reload every time. Note that headers are different for different browsers

Re: How does one configure Plain host domain url to run web app?

2007-03-12 Thread org
Hi John, Ok, I'm going to try show you how I think about this stuff... and I'm often wrong ;) Dont use a redirect... it goes back to the browser and its not cool. Firstly make a servlet and have a look at the CONTEXT.XML file under META-INF Change it to.. Now have a look at WEB.XML

Re: EJB 3.0 and Hibernate

2007-03-12 Thread org
Here you go http://www.hibernate.org/114.html shows you how to use it in Tomcat - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: EJB 3.0 and Hibernate

2007-03-12 Thread org
Hi Scott, Not sure what you mean by container managed service, tomcat on its own is a servlet container, not an application container, like JBoss, maybe you saw hibernate referenced in Spring which is a whole collection of frameworks built on top of servlet technology, it uses hibernate, and

Re: File Content Not Saved To Server

2007-03-12 Thread org
Its been a really long time since I played with Applets, but if I remember correctly I think you screwed. I dont think an applet container will let you access a local file system and send it to a server, it would create huge security holes. So even if you get the code right, browser will star

Re: how to intimate the user when his session invalidation occurs in form based authentication

2007-03-12 Thread org
Hi SANGAMESHWAR, I also had no luck with using error page tags in tomcat, they dont work. I really think you should have a separate login page, and then let the users navigate to frames etc. The only way I could get an tailor made error page to display properly was by using programmitic securit

Re: Specifying relative path for TOMCAT 5.5 ?

2007-03-10 Thread org
Hi Rajendra, This also confused the hell out of me. Here are some tips If a url is relative, its relative to the page eg moreInfo/Details/SomePage.htm So its going to depend on the page the user is viewing and go from there... just like normal HTML pages. When you want it to go to an "absolu

RE: Tomcat and NetBeans IDE - THE BEST

2007-03-10 Thread org
Hi there, I also only recently started using Tomcat and Netbeans and its a match made in heaven. I use Tomcat for EVERYTHING its fantastic, wonderful, best thing I ever discovered, and Netbeans is sizzling hot as well. No, you dont have to use the embedded Tomcat server, and it wont be long