Tomcat connector port configuration

2008-01-13 Thread Asaf Lahav
Is it possible to get the Tomcat connector port configuration information from within a servlet context? I have a servlet application that is supposed to self register its link into a file when it is started. What would be the best way to do that? Thanks in advance -

FW: Reading servlet server connector configuration

2008-01-03 Thread Asaf Lahav
Hi guys, I didn't get any feedback on this so I'm resending to make sure it got to the mailing list. Thanks in advance, Asaf _ From: Asaf Lahav [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 01, 2008 4:44 PM To: 'users@tomcat.apache.org' Subject: Re

Reading servlet server connector configuration

2008-01-01 Thread Asaf Lahav
Ladies and Gentlemen, How can I read a server's connector configuration from within a servlet's init function? I would like to get a handle to configuration of connectors defined on a server that contains my servlet. And it has to be done when the servlet is initialized. Thanks in advance, A

RE: Run class in the start up of Tomcat

2006-05-29 Thread Asaf Lahav
Is it possible to stop the tomcat shutdown sequence from with in the context listener contextDestroyed function? Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-6540255 Fax: 972-3-6540254 -Original Message- From: Asaf L

RE: Run class in the start up of Tomcat

2006-05-29 Thread Asaf Lahav
Thanks Juanjo, That link helped. Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-6540255 Fax: 972-3-6540254 -Original Message- From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 10:23 AM To: Tomcat Users List Subject

servlet api problem

2006-05-28 Thread Asaf Lahav
could be the reason? What do these log entries mean?   Thanks advance,   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254  

RE: Run class in the start up of Tomcat

2006-05-28 Thread Asaf Lahav
throwable.printStackTrace(System.out); } } } I also added a Listener entry in the application web.xml: starters.ContextServletsTest For some reason its not working and I can't figure it out. Apperently I did every thing

RE: Classloader bug?

2006-05-22 Thread Asaf Lahav
nvironment, the class loader seems to be aware of the jars that are contained inside the aspectJ jar, in the other environment (which is the tomcat), the class loader is not aware of the jars that are contained inside the aspectj jar. What is it that makes the difference? Asaf Lahav VP

RE: Classloader bug?

2006-05-22 Thread Asaf Lahav
Its not a bug. A jar needs to contain classes, not other jars. -Tim Asaf Lahav wrote: > > > I think encountered a tomcat classloader bug. > > I have a jar file that contains several other jar files. > > I expected the classloader to be aware of the jar fil

Classloader bug?

2006-05-22 Thread Asaf Lahav
the containing jar.   p.s, the problematic jar file is: aspectj-1.5.0.jar (of aspectJ)   I would appreciate your opinion on this   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254  

RE: Application configuration: how to read files from a web application

2006-05-17 Thread Asaf Lahav
Well, Obviously I tried it. The more interesting question is whether the default configuration tomcat comes with permits writing files, and second is what should I look into at our customers servers in order to make sure write/edit capabilities are possible? Asaf Lahav VP R&D, Prima Grid

RE: Application configuration: how to read files from a web application

2006-05-17 Thread Asaf Lahav
Hi Mark, Is there a best practice for also writing/updating configuration file from within the application? Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-6540255 Fax: 972-3-6540254 -Original Message- From: Mark Petrovic [mailto:[E

RE: Application Configuration

2006-05-14 Thread Asaf Lahav
I have several xml files that I need to load from a web service application. The xml files are not packaged into a WAR file or any other cabinet. Where would be the best place to put the xml files and what would be the best way to read it? Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 97

RE: Application started/stopped notification

2006-05-11 Thread Asaf Lahav
Thanks Michael Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-6540255 Fax: 972-3-6540254 -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 6:10 PM To: Tomcat Users List Subject: Re: Applica

Application started/stopped notification

2006-05-11 Thread Asaf Lahav
like to get an invocation of some sort that would indicate that the tomcat is stopping (preferably) before tomcat started the shutdown sequence.   Thanks in advance,   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254  

RE: Application Configuration

2006-05-08 Thread Asaf Lahav
Hi everybody,   I still need help on this. Please read below…   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254 From: Asaf Lahav [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 11:30 AM To: u

Application Configuration

2006-05-08 Thread Asaf Lahav
info from there?   Thanks in advance,   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254  

RE: remote debug on tomcat using eclipse

2006-02-21 Thread Asaf Lahav
Hi Tim, Your screen capture helped allot and actually solved my problem. Apparently I didn't include all the required arguments in the java tab of the tomcat5w.exe Thanks allot, Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-654025

RE: remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
  Any help is appreciated   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254 From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 10:50 PM To: [EMAIL PROTECTED] Subject: RE: remote debug on t

RE: remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
environment variables. But I don't know where to add the command line arguments when I'm running the Tomcat in service mode. Asaf Lahav VP R&D, Prima Grid LTD. Cellular: 972-54-4717955 Phone: 972-3-6540255 Fax: 972-3-6540254 -Original Message--

remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
tomcat and Eclipse to enable remote debugging, did what those articles instructed with no luck.   What am do I have to do to succeed in this new venture? J Thanks in advance,   Asaf Lahav VP R&D, Prima Grid LTD. Cellular:  972-54-4717955 Phone:   972-3-6540255 Fax:   972-3-6540254