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
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'
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
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
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
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
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
-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
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,
>
>
-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
>
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
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,
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
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
his:
>>>>>>
>>>>>> Wrapper wrapper =
>>>>>> Tomcat.addServlet(ctx,"Greeter",GreeterServlet.class.getName());
>>>>>> wrapper.addMapping("/*");
>>>>>> wrapper.getServlet().getServletConfig().getSer
>> 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
#x27;s somewhere in this chain:
>>>>
>>>> tomcat = new Tomcat();
>>>> tomcat.setPort(8080);
>>>> File base = new File("target/webapp-runner");
>>>> if(!base.exists()) {
>>>> base.
t(8080);
>>> File base = new File("target/webapp-runner");
>>> if(!base.exists()) {
>>> base.mkdirs();
>>> }
>>> Context ctx = tomcat.addContext("/",base.getAbsolutePath());
>>>
>>>
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:
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
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
> 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
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.
-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.
-
...@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
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
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
> -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
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
: 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
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
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
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
> 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
> 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
, 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
> 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
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
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
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
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
-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\
)" <[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
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
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
(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
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
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
--
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
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
-
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
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
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]
>
>
>
> 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
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
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..
---
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
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
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
"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
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
61 matches
Mail list logo