Re: Fwd: Tomcat question

2018-04-30 Thread Ognjen Blagojevic
Zahi, On 30.4.2018. 11:09, Zahi Fail wrote: curl -X POST \ http://localhost:8080/userManagement/rest/Traffic/users2 \ -H 'Authorization: Basic dG9tY2F0OnMzY3JldA==' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 71819f33-6206-02c5-5cf2-8d

Re: Fwd: Tomcat question

2018-04-30 Thread Zahi Fail
This is the curl message from postman: curl -X POST \ http://localhost:8080/userManagement/rest/Traffic/users2 \ -H 'Authorization: Basic dG9tY2F0OnMzY3JldA==' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 71819f33-6206-02c5-5cf2-8de6347fc154'

Re: Fwd: Tomcat question

2018-04-30 Thread Ognjen Blagojevic
Zahi, On 25.4.2018. 13:19, zahi.f...@gmail.com wrote: I configured in my conf\server.xml file the realm as below: Ok, so the configuration looks fine. You said you are using Postman to send the request. Can you paste the `curl` command that the postman can generate for you just to check if i

Fwd: Tomcat question

2018-04-25 Thread zahi . fail
Sent from my iPhone Begin forwarded message: > From: Zahi Fail > Date: 25 April 2018 at 12:19:20 GMT+3 > To: Ognjen Blagojevic > Subject: Re: Tomcat question > > I configured in my conf\server.xml file the realm as below: > > > resourceName="UserDa

Re: Tomcat question

2018-04-24 Thread Terence M. Bandoian
On 4/23/2018 11:46 AM, zahi.f...@gmail.com wrote: I used the “manager” role for basic auth. While testing the web service with postman, I entered my user name and password. Yet, I got unauthorized message (401).. I couldn’t find any explanation for this issue.. What do the log files say? -T

Re: Tomcat question

2018-04-24 Thread Ognjen Blagojevic
Zahi, On 23.4.2018. 16:38, Zahi Fail wrote: > This is the following code from my web.xml file: ... > *and in the tomcat-user.xml i have updated the code as below: * ... You need to configure appropriate realm. Did you do that? You can do it in your webapp's context.xml, or in server.xml file, b

Re: Tomcat question

2018-04-23 Thread zahi . fail
I used the “manager” role for basic auth. While testing the web service with postman, I entered my user name and password. Yet, I got unauthorized message (401).. I couldn’t find any explanation for this issue.. > On 23 Apr 2018, at 19:41, Christopher Schultz > wrote: > > -BEGIN PGP SIG

Re: Tomcat question

2018-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahi, On 4/23/18 10:13 AM, zahi.f...@gmail.com wrote: > I just copied my users section in the tomcat-users. There is more > code - Tomcat users tag.. that shouldn’t be the problem cause I can > enter to the tomcat manager page Well, if it shouldn't

Re: Tomcat question

2018-04-23 Thread zahi . fail
I just copied my users section in the tomcat-users. There is more code - Tomcat users tag.. that shouldn’t be the problem cause I can enter to the tomcat manager page > On 23 Apr 2018, at 16:45, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Zahi, > >

Re: Tomcat question

2018-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahi, On 4/23/18 9:38 AM, Zahi Fail wrote: > I'm working with Tomcat 9.0.6 version as my servlet, Throughout my > jax-rs project i have tried to create basic authentication. > > While i'm trying to access a post method without the basic auth. it >

Re: Tomcat question

2018-04-23 Thread Zahi Fail
Hello, I'm working with Tomcat 9.0.6 version as my servlet, Throughout my jax-rs project i have tried to create basic authentication. While i'm trying to access a post method without the basic auth. it all working well (I got the 200 message from the HTTP server). But, after adding the basic aut

Re: Tomcat question

2018-04-23 Thread Luis Rodríguez Fernández
Hello Zahi, As it is said in http://tomcat.apache.org/lists.html "Please format your messages as plain text, not HTML. Do not send attachments, as they are likely to be removed and ignored by the mailing list server." Just copy and paste the content of your xml files should be enough :) Cheers,

Re: Tomcat question

2018-04-23 Thread Olaf Kock
On 23.04.2018 14:49, Zahi Fail wrote: This is the following code from my web.xml file: Images are the least popular medium to communicate code. And on this list, this is actually enforced: Images are stripped. Please post the actual text - that should be even easier than creating screen

Tomcat question

2018-04-23 Thread Zahi Fail
Hello, I'm working with Tomcat 9.0.6 version as my servlet, Throughout my jax-rs project i have tried to create basic authentication. While i'm trying to access a post method without the basic auth. it all working well (I got the 200 message from the HTTP server). But, after adding the basic auth

Re: Embedded Tomcat question

2014-07-10 Thread Mark Thomas
his: >>>>>> >>>>>> Wrapper wrapper = >>>>>> Tomcat.addServlet(ctx,"Greeter",GreeterServlet.class.getName()); >>>>>> wrapper.addMapping("/*"); >>>>>> wrapper.getServlet().getServletConfig().getSer

Re: Embedded Tomcat question

2014-07-09 Thread John D. Ament
>> wrapper.addMapping("/*"); >>>>> wrapper.getServlet().getServletConfig().getServletContext().addListener(MyListener.class); >>>>> >>>>> This results in a NPE. This makes me think I don't have access to the >>>>> conte

Re: Embedded Tomcat question

2014-07-01 Thread Mark Thomas
#x27;s somewhere in this chain: >>>> >>>> tomcat = new Tomcat(); >>>> tomcat.setPort(8080); >>>> File base = new File("target/webapp-runner"); >>>> if(!base.exists()) { >>>> base.

Re: Embedded Tomcat question

2014-07-01 Thread John D. Ament
t(8080); >>> File base = new File("target/webapp-runner"); >>> if(!base.exists()) { >>> base.mkdirs(); >>> } >>> Context ctx = tomcat.addContext("/",base.getAbsolutePath()); >>> >>>

Re: Embedded Tomcat question

2014-06-30 Thread Mark Thomas
ntext ctx = tomcat.addContext("/",base.getAbsolutePath()); >> >> however, it doesn't look like Context here is a ServletContext. >> >> >> On Sun, Jun 29, 2014 at 6:30 PM, Caldarale, Charles R >> wrote: >>>> From: John D. Ament [mailto:

Re: Embedded Tomcat question

2014-06-29 Thread John D. Ament
text here is a ServletContext. > > > On Sun, Jun 29, 2014 at 6:30 PM, Caldarale, Charles R > wrote: >>> From: John D. Ament [mailto:john.d.am...@gmail.com] >>> Subject: Embedded Tomcat question >> >>> Playing around a bit with embedded tomcat. It looks like

Re: Embedded Tomcat question

2014-06-29 Thread John D. Ament
arale, Charles R wrote: >> From: John D. Ament [mailto:john.d.am...@gmail.com] >> Subject: Embedded Tomcat question > >> Playing around a bit with embedded tomcat. It looks like there are >> APIs to add all of the tomcat specific listeners, however how would I >> add a

RE: Embedded Tomcat question

2014-06-29 Thread Caldarale, Charles R
> From: John D. Ament [mailto:john.d.am...@gmail.com] > Subject: Embedded Tomcat question > Playing around a bit with embedded tomcat. It looks like there are > APIs to add all of the tomcat specific listeners, however how would I > add a ServletRequestListener? Look in the s

Embedded Tomcat question

2014-06-29 Thread John D. Ament
Hi, Playing around a bit with embedded tomcat. It looks like there are APIs to add all of the tomcat specific listeners, however how would I add a ServletRequestListener? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.

Re: tomcat question

2012-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 10/22/12 2:47 PM, Adamus, Steven J. wrote: > You need to push back and tell your Security Auditors that the Java > and Jasper compilers are required for Tomcat. Provide any > documentation they require. Thank you for ending the madness. -

RE: tomcat question

2012-10-22 Thread Wiley, Maxie
...@tomcat.apache.org Subject: RE: tomcat question Maxie, You're probably referring to a DoD or similar security requirement. In the Web Server STIG, Rule ID SV-2236r8 says, "Installation of compilers on production web server is prohibited." The explanation provided is, "The presence

RE: tomcat question

2012-10-22 Thread Adamus, Steven J.
22, 2012 6:18 AM To: users-subscr...@tomcat.apache.org; users@tomcat.apache.org Subject: tomcat question ALL, Is it possible to remove an installation of a compiler on a production web server(tomcat)? If there is a way to remove the compiler or is it required in order for the system to function pr

Re: tomcat question

2012-10-22 Thread Pid
On 22/10/2012 14:18, Wiley, Maxie wrote: > ALL, > > Is it possible to remove an installation of a compiler on a production web > server(tomcat)? If there is a way to remove the compiler or is it required in > order for the system to function properly. Could you please send me a > precise summ

RE: tomcat question

2012-10-22 Thread Jeffrey Janner
> -Original Message- > From: Wiley, Maxie [mailto:maxie.wi...@serco-na.com] > Sent: Monday, October 22, 2012 8:18 AM > To: users-subscr...@tomcat.apache.org; users@tomcat.apache.org > Subject: tomcat question > > ALL, > > Is it possible to remove an inst

RE: tomcat question

2012-10-22 Thread Wiley, Maxie
Remove the tomcat compilter? -Original Message- From: Jose María Zaragoza [mailto:demablo...@gmail.com] Sent: Monday, October 22, 2012 9:25 AM To: Tomcat Users List Subject: Re: tomcat question 2012/10/22 André Warnier : > Wiley, Maxie wrote: >> >> >> Is it

RE: tomcat question

2012-10-22 Thread Wiley, Maxie
: Tomcat Users List Subject: Re: tomcat question Wiley, Maxie wrote: > ALL, > > Is it possible to remove an installation of a compiler on a production web > server(tomcat)? If there is a way to remove the compiler or is it required in > order for the system to function properly. Could

Re: tomcat question

2012-10-22 Thread Jose María Zaragoza
2012/10/22 André Warnier : > Wiley, Maxie wrote: >> >> >> Is it possible to remove an installation of a compiler on a production web >> server(tomcat)? Jasper? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: tomcat question

2012-10-22 Thread André Warnier
Wiley, Maxie wrote: ALL, Is it possible to remove an installation of a compiler on a production web server(tomcat)? If there is a way to remove the compiler or is it required in order for the system to function properly. Could you please send me a precise summary of why and any steps that c

tomcat question

2012-10-22 Thread Wiley, Maxie
ALL, Is it possible to remove an installation of a compiler on a production web server(tomcat)? If there is a way to remove the compiler or is it required in order for the system to function properly. Could you please send me a precise summary of why and any steps that can be taken to mitigat

RE: TomCat question

2008-10-24 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: TomCat question > > That depends on the all important version of tomcat you are using. > Versions 5.5.x and 6.0.x at least should run on a j2se no problem. I think you're confusing the OP's question with the m

RE: TomCat question

2008-10-24 Thread Caldarale, Charles R
> From: Peter Crowther [mailto:[EMAIL PROTECTED] > Subject: RE: TomCat question > > > From: Ghanta, Bose [mailto:[EMAIL PROTECTED] > > "Will Tomcat run with J2SE or does it require J2EE?" > > The ones I have here run just fine on J2SE. Tomcat must be run

RE: TomCat question

2008-10-24 Thread Ghanta, Bose
, October 24, 2008 10:30 AM To: 'Tomcat Users List' Subject: RE: TomCat question > From: Ghanta, Bose [mailto:[EMAIL PROTECTED] > "Will Tomcat run with J2SE or does it require J2EE?" The ones I have here run just fine on J2SE

RE: TomCat question

2008-10-24 Thread Peter Crowther
> From: Ghanta, Bose [mailto:[EMAIL PROTECTED] > "Will Tomcat run with J2SE or does it require J2EE?" The ones I have here run just fine on J2SE. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To

Re: TomCat question

2008-10-24 Thread David Smith
That depends on the all important version of tomcat you are using. Versions 5.5.x and 6.0.x at least should run on a j2se no problem. --David Ghanta, Bose wrote: Dear TomCat community, I need to your advice and I appreciate it very much. We are porting Sun J2SE to our platform and would l

TomCat question

2008-10-24 Thread Ghanta, Bose
Dear TomCat community, I need to your advice and I appreciate it very much. We are porting Sun J2SE to our platform and would like to know if TomCat can run on J2SE. "Will Tomcat run with J2SE or does it require J2EE?" I appreciate your input here. Thank you, Bose

tomcat question

2008-06-18 Thread Robert Welz
A question: If I have a class / function Logger.Log (Logger.LOG_LEVEL_INFO, "Test " + Globals.BACKUP_STARTDIR); where will tomcat write these data out? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscri

Re: AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Tim Funk
I don't think tomcat(explicitly) is doing this. It could be any of the following: 1) When the file is found a full path check is done to prevent sneaky people from trying ../../ tricks - so I you might see the JVM and how it implments File.getAbsolutePath) on a file 2) It could be IIS doing the

Re: AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Hoffmann (Speed4Trade) wrote: > when i request e.g. test.jsp from browser my file-monitor show > the following harddisc-accesses: > d:\ > d:\inetpub > d:\inetpub\wwwroot > d:\inetpub\wwwroot\tyres4trade > d:\inetpub\wwwroot\tyres4trade\

Re: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Martin Gainty
)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Monday, May 21, 2007 3:07 PM Subject: AW: Tomcat-Question: Inefficient searching for jsp-files? Hi, Tomcat is running with iis, thats right. Tomcat is installed on c:\Programme\ websites are under d:\inetpub

AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
Betreff: RE: Tomcat-Question: Inefficient searching for jsp-files? your docBase shouldn't include the absolute path should it? Just the relative path? Besides, that looks totally configured for running files on IIS' server, not (thru) Tomcat's servlet engine. -Original Me

RE: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Propes, Barry L
D] Sent: Monday, May 21, 2007 1:09 PM To: 'Tomcat Users List' Cc: [EMAIL PROTECTED] Subject: AW: Tomcat-Question: Inefficient searching for jsp-files? Hi, my contect-configuratation looks like: when i request e.g. test.jsp from browser my file-monitor show the following harddisc-a

AW: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
(not found) \tomcat 5.5\work\org\apache\jsp\test_jsp.class i ask myself why does tomcat start to search from d:\ instead of docBase? -Ursprüngliche Nachricht- Von: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Mai 2007 19:56 An: Tomcat Users List Betreff: Re: Tomcat-Question

Re: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, Thomas Hoffmann (Speed4Trade) <[EMAIL PROTECTED]> wrote: Hello, i am using Tomcat 5.5.23. When i request a simple jsp-file my file-monitor shows me, that tomcat is searching from root. This is a problem for website with a lot of traffic. A screenshot is attached to this mail. All at

Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Thomas Hoffmann \(Speed4Trade\)
Hello, i am using Tomcat 5.5.23. When i request a simple jsp-file my file-monitor shows me, that tomcat is searching from root. This is a problem for website with a lot of traffic. A screenshot is attached to this mail. The Context-Entry looks like Thanks for suggestions, Thomas --

Re: Not a Tomcat question but could use your help! Netbeans 5.5: Changing the TabSet Header Color from blue to something else

2007-01-14 Thread Martin Gainty
t strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "llekann" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, January 14, 2007 7:27 AM Subject: Not a Tomcat question but could use your help! Netbe

Not a Tomcat question but could use your help! Netbeans 5.5: Changing the TabSet Header Color from blue to something else

2007-01-14 Thread llekann
Hi All! For the Visual Web Pack in Netbeans 5.5 : Please does anyone know how to change the TabSet header color from the default blueish to something else, preferrably gray. and the Table component and Table Column component headers too. Million thanx in advance! lekan -

Re: Not quite a tomcat question

2006-12-31 Thread Leon Rosenberg
Despitie writing in the db would clearly be the better idea, I'd suggest that you create a unique id (its easy using 30 random digits or something) and put the users data in a large hashmap along with a timestamp of the creation and the users data. You can include this id into the confirmation lin

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: Newbie Tomcat question - where to store dependency DLLs?

2006-10-17 Thread AStefanS
t; having IE open as I installed it. My own stupidity. > > - Peter > > - > 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: Newbie Tomcat question - where to store dependency DLLs?

2006-10-17 Thread Peter Crowther
> From: AStefanS [mailto:[EMAIL PROTECTED] > my DLL can be > downloaded successfully (after adding application/x-msdownload MIME > mapping), but the dependency DLLs are not downloaded. Turn on access logging via the access log valve and see what requests IE is making for the dependency DLLs. Put

Newbie Tomcat question - where to store dependency DLLs?

2006-10-16 Thread AStefanS
the dependency DLLs on the same directory as the main DLL, or in the same directory as the HTML file, but to no avail. Can someone tell me what can I do to rectify this? Thanks! -- View this message in context: http://www.nabble.com/Newbie-Tomcat-question---where-to-store-dependency-DLLs

Servlet and Tomcat question:

2006-04-28 Thread Adam Lindsey
Hello, Sorry to waste everyone's time with that previous question. I left a print statement in my program for a boolean variable to check its status while troubleshooting. I removed it and the DOS server screen no longer displays 'false' across the screen. Duh. Carry on.. ---

Re: Servlet and Tomcat question

2006-04-28 Thread Franck Borel
Hi Adam, Hello, I noticed something with Tomcat that is probably obvious to everyone but me, but I gotta ask about it. Im a total novice at programming so please be patient. After starting up Tomcat today I began writing a script to use on Tomcat without being connected to the web. The dos

Servlet and Tomcat question

2006-04-27 Thread Adam Lindsey
Hello, I noticed something with Tomcat that is probably obvious to everyone but me, but I gotta ask about it. Im a total novice at programming so please be patient. After starting up Tomcat today I began writing a script to use on Tomcat without being connected to the web. The dos window was

Re: Basic modjk + ssl + tomcat question

2006-02-08 Thread Mike Sabroff
Because ssl only works through https:// You should really split that up though Bill Barker wrote: "Ed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi! (modjk newbie) I'm using a modjk+SSL config (I did not make myself) that is mapped to a single worker. Behind, a sing

Re: Basic modjk + ssl + tomcat question

2006-02-07 Thread Bill Barker
"Ed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > (modjk newbie) > I'm using a modjk+SSL config (I did not make myself) that is mapped to a > single worker. > Behind, a single AJP connector recieves everything. > The question is : how do I know from my webapp that a requ

Basic modjk + ssl + tomcat question

2006-02-07 Thread Ed
Hi! (modjk newbie) I'm using a modjk+SSL config (I did not make myself) that is mapped to a single worker. Behind, a single AJP connector recieves everything. The question is : how do I know from my webapp that a request is using SSL or not. I saw the "secure" configuration attribute to the