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:
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
Sent from my iPhone
Begin forwarded message:
> From: Zahi Fail <zahi.f...@gmail.com>
> Date: 25 April 2018 at 12:19:20 GMT+3
> To: Ognjen Blagojevic <ognjen.d.blagoje...@gmail.com>
> Subject: Re: Tomcat question
>
> I configured in my conf\serv
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?
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,
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
>
-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
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-
-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
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
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
...@unisys.com 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 ServletRequestListener?
Look in the servlet spec
= 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
chuck.caldar...@unisys.com wrote:
From: John D. Ament [mailto:john.d.am...@gmail.com]
Subject: Embedded Tomcat question
();
}
Context 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
chuck.caldar...@unisys.com wrote:
From: John D. Ament [mailto:john.d.am...@gmail.com]
Subject: Embedded Tomcat question
Context here is a ServletContext.
On Sun, Jun 29, 2014 at 6:30 PM, Caldarale, Charles R
chuck.caldar...@unisys.com 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
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 servlet spec for the version of Tomcat you're using (which you
didn't mention), and the JavaDoc
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:
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 servlet spec
[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 servlet spec for the version of Tomcat you're using
[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 servlet spec for the version of Tomcat you're using (which
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
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
2012/10/22 André Warnier a...@ice-sa.com:
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
To: 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 you please send me
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 a...@ice-sa.com:
Wiley, Maxie wrote:
Is it possible to remove
-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 installation of a compiler on a production
web
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 summary
@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 properly. Could you please
send me a precise summary of why
...@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 of a
compiler
-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.
-
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
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
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
, 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.
- Peter
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 on J2SE, not J2EE. The J2EE download includes jars
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 more typical one about JRE
vs
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
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
Context docBase=D:\inetpub\wwwroot\tyres4trade
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
[mailto:[EMAIL PROTECTED]
Gesendet: Montag, 21. Mai 2007 19:56
An: Tomcat Users List
Betreff: Re: Tomcat-Question: Inefficient searching for jsp-files?
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
, 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:
Context docBase=D:\inetpub\wwwroot\tyres4trade path=
privileged=true workdir= reloadable=fals /
when i request
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 Message-
From
]
To: 'Tomcat Users List' users@tomcat.apache.org
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
thats why i cant use relative paths
-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
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
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
diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: llekann [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Sunday, January 14, 2007 7:27 AM
Subject: Not a Tomcat question but could use your help! Netbeans 5.5: Changing
the TabSet Header Color from
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
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
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
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Newbie-Tomcat-question---where-to-store-dependency-DLLs--tf2456907.html#a6850855
Sent from
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..
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 single
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
59 matches
Mail list logo