RE: Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18

2015-02-04 Thread Evil Bit
setenv.sh does have an extra \r but the same file worked for me on 8.0.15 - I 
only copied it from the older tomcat.
I removed it and now it works on 8.0.18 too. thank you.

 On Wed, 04 Feb 2015 08:52:24 -0800  
Caldaralelt;chuck.caldar...@unisys.comgt; wrote  

gt; From: Evil Bit [mailto:evil...@zoho.com] 
gt; Subject: Issues with log4j.core.async.AsyncLoggerContextSelector when 
upgrading from 8.0.15 to 8.0.18 
 
gt; When running tomcat with 
gt; 
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 
gt; (defined in setenv.sh) to enable log4j2's async logging, I now get a 
ClassNotFoundException 
gt; (see below). What could be the problem? 
 
gt; ERROR StatusLogger Unable to create context 
org.apache.logging.log4j.core.async.AsyncLoggerContextSelector^M 
 
Note the ^M at the end of the class name; this makes me suspicious that your 
setenv.sh file has been edited on Windows and then used on Linux/UNIX/OSX/? 
(been there, done that). 
 
 - Chuck 
 
 
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers. 
 
 
 
- 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org 
For additional commands, e-mail: users-h...@tomcat.apache.org 
 






Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18

2015-02-04 Thread Evil Bit
I've recently upgraded from 8.0.15 to 8.0.18 and I have a new problem which I 
didn't have on 8.0.15. The configuration of tomcat and my application remained 
exactly the same when upgrading.

When running tomcat with 
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 (defined in setenv.sh) to enable log4j2's async logging, I now get a 
ClassNotFoundException (see below). What could be the problem?

Here's catalina.out with FINE level logging for org.apache.jasper.servlet:

04-Feb-2015 16:28:39.721 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:
Apache Tomcat/8.0.18
04-Feb-2015 16:28:39.721 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:  
Jan 23 2015 11:56:07 UTC
04-Feb-2015 16:28:39.722 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number: 
8.0.18.0
04-Feb-2015 16:28:39.722 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:   
Linux
04-Feb-2015 16:28:39.722 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.13.0-45-generic
04-Feb-2015 16:28:39.723 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:  
amd64
04-Feb-2015 16:28:39.723 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home: 
/usr/lib/jvm/jdk1.7.0_71/jre
04-Feb-2015 16:28:39.723 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:   
1.7.0_71-b14
04-Feb-2015 16:28:39.723 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Oracle Corporation
04-Feb-2015 16:28:39.724 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: 
/home/tomcat/apache-tomcat-8.0.18
04-Feb-2015 16:28:39.724 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: 
/home/tomcat/apache-tomcat-8.0.18
04-Feb-2015 16:28:39.725 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/home/tomcat/current_tomcat/conf/logging.properties
04-Feb-2015 16:28:39.725 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
04-Feb-2015 16:28:39.729 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
04-Feb-2015 16:28:39.730 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.endorsed.dirs=/home/tomcat/current_tomcat/endorsed
04-Feb-2015 16:28:39.730 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/home/tomcat/current_tomcat
04-Feb-2015 16:28:39.730 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/home/tomcat/current_tomcat
04-Feb-2015 16:28:39.730 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.io.tmpdir=/home/tomcat/current_tomcat/temp
04-Feb-2015 16:28:39.731 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based 
Apache Tomcat Native library which allows optimal performance in production 
environments wa
s not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
04-Feb-2015 16:28:40.216 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler [http-nio2-8080]
04-Feb-2015 16:28:40.367 INFO [main] org.apache.catalina.startup.Catalina.load 
Initialization processed in 2840 ms
04-Feb-2015 16:28:40.512 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service Catalina
04-Feb-2015 16:28:40.519 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.0.18
04-Feb-2015 16:28:42.315 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JasperInitializer.onStartup Initializing Jasper for 
context [null]
04-Feb-2015 16:28:42.514 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JspServlet.init Scratch dir for the JSP engine is: 
/home/tomcat/apache-tomcat-8.0.18/work/Catalina/localhost/plstatic
04-Feb-2015 16:28:42.522 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JspServlet.init IMPORTANT: Do not modify the 
generated servlets
04-Feb-2015 16:28:42.635 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JasperInitializer.onStartup Initializing Jasper for 
context [null]
04-Feb-2015 16:28:42.663 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JspServlet.init Scratch dir for the JSP engine is: 
/home/tomcat/apache-tomcat-8.0.18/work/Catalina/localhost/release
04-Feb-2015 16:28:42.667 FINE [localhost-startStop-1] 
org.apache.jasper.servlet.JspServlet.init 

RE: Issues with log4j.core.async.AsyncLoggerContextSelector when upgrading from 8.0.15 to 8.0.18

2015-02-04 Thread Caldarale, Charles R
 From: Evil Bit [mailto:evil...@zoho.com] 
 Subject: Issues with log4j.core.async.AsyncLoggerContextSelector when 
 upgrading from 8.0.15 to 8.0.18

 When running tomcat with 
 -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
  
 (defined in setenv.sh) to enable log4j2's async logging, I now get a 
 ClassNotFoundException 
 (see below). What could be the problem?

 ERROR StatusLogger Unable to create context 
 org.apache.logging.log4j.core.async.AsyncLoggerContextSelector^M 

Note the ^M at the end of the class name; this makes me suspicious that your 
setenv.sh file has been edited on Windows and then used on Linux/UNIX/OSX/? 
(been there, done that).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Session being dropped in Virtual Host in 8.0.9

2015-02-04 Thread Hassan Schroeder
Late to this party :-)

On Wed, Feb 4, 2015 at 2:03 AM, Rory Kelly rory.ke...@fernsoftware.com wrote:

 Rack is a bundle of fun, since this application is a Jruby application,
 which is being converted into a Java application to run on Tomcat. That's a
 whole other can of worms :)

I've only run Rails apps out of Tomcat (as WAR files), not Sinatra/
Padrino, but --

1) Have you tried (non-WAR) using trinidad (embedded Tomcat)?

2) Can you make a simple example WAR available that duplicates
the issue?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: JDBC authentication problem

2015-02-04 Thread Felix Schumacher

Am 04.02.2015 um 14:21 schrieb Luc DALLEMANE:

Hi,

I'm back again with the problem :)

Firstly, I add the validationQuery and it works and I can see it in postgres 
logs.

But still not able to login after a while of inactivity

Now, after 15 min of waiting, I'm getting a socket connexion timeout, but seems 
logic after such a long period of trying to connect.

Thank you again for your ideas and haven't found a solution.
You might try to enable keepalive on your postgresql connection. 
Connection porperties can be specified with the attribute 
connectionProperties (at least according to 
http://commons.apache.org/proper/commons-dbcp/configuration.html) or in 
the jdbc url jdbc://...?tcpKeepAlive=true. You can even specify the 
timeout for connnecting to your database.


Regards
 Felix


Regards, Luc.

De : Konstantin Kolinko knst.koli...@gmail.com
Envoyé : mardi 3 février 2015 12:33
À : Tomcat Users List
Objet : Re: JDBC authentication problem

2015-02-03 14:29 GMT+03:00 Luc DALLEMANE ldallem...@alaloop.com:

Hi,

Thanks for the reply, I tried to add the options you told me about 
(testWhileIdle, timeBetweenEvictionRunsMillis, and maxConnLifetimeMillis), but 
I'm still unable to log after un hour ...

Do you have validationQuery configured?  testOnBorrow, testWhileIdle
do not work without it.


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: How to add PROPPATCH to webdav supported app

2015-02-04 Thread Mark Thomas
On 04/02/2015 19:57, manish.m.pa...@kp.org wrote:
 Thanks  Chuck...
 
 Chuck / Users:
 
 Chuck, I had come across that when I googled it.
 
 local OS: windows 7
 
 current Issue: when I try to copy from windows 7 to my webapp 
 myWebAppUsingWebDev it fails to copy to remote/network share. 
 Microsoft says that myWebAppUsingWebDev/my web app should be configured to 
 accept PROPPATCH and it should not return 501 error code (method not 
 implemented) rather something in 400 series i.e. method not allowed 
 (code=405)
 
 Microsoft is pointing to RFC about it (
 http://www.webdav.org/specs/rfc4918.html#METHOD_PROPPATCH)

How about your read the response you got two weeks ago when you asked
exactly the same question?

Mark


 
 Regards,
 
 Manish
 
 
 
 From:   Caldarale, Charles R chuck.caldar...@unisys.com
 To: Tomcat Users List users@tomcat.apache.org
 Date:   02/03/2015 04:16 PM
 Subject:RE: How to add PROPPATCH to webdav supported app
 
 
 From: manish.m.pa...@kp.org [mailto:manish.m.pa...@kp.org]
 Subject: How to add PROPPATCH to webdav supported app
 
 HTTP method: PROPPATCH
 
 Reference: WebDav is bundle with Apache Tomcat 8.0*
 
 If my web application myWebAppUsingWebDav uses WebdavServlet, how to
 configure myWebAppUsingWebDav so that it accepts PROPATCH request?
 
 The WebDAV servlet included with Tomcat does not support PROPPATCH.  A 
 quick scan of the mailing list showed this thread:
 
 http://marc.info/?l=tomcat-userm=113347144015186w=2
 
 Note that Apache Slide is no longer maintained, but you should be able to 
 use Apache Jackrabbit.
 
 - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
 MATERIAL and is thus for use only by the intended recipient. If you 
 received this in error, please contact the sender and delete the e-mail 
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: How to add PROPPATCH to webdav supported app

2015-02-04 Thread Manish . M . Patel
Thanks  Chuck...

Chuck / Users:

Chuck, I had come across that when I googled it.

local OS: windows 7

current Issue: when I try to copy from windows 7 to my webapp 
myWebAppUsingWebDev it fails to copy to remote/network share. 
Microsoft says that myWebAppUsingWebDev/my web app should be configured to 
accept PROPPATCH and it should not return 501 error code (method not 
implemented) rather something in 400 series i.e. method not allowed 
(code=405)

Microsoft is pointing to RFC about it (
http://www.webdav.org/specs/rfc4918.html#METHOD_PROPPATCH)

Regards,

Manish



From:   Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Date:   02/03/2015 04:16 PM
Subject:RE: How to add PROPPATCH to webdav supported app


 From: manish.m.pa...@kp.org [mailto:manish.m.pa...@kp.org]
 Subject: How to add PROPPATCH to webdav supported app

 HTTP method: PROPPATCH

 Reference: WebDav is bundle with Apache Tomcat 8.0*

 If my web application myWebAppUsingWebDav uses WebdavServlet, how to
 configure myWebAppUsingWebDav so that it accepts PROPATCH request?

The WebDAV servlet included with Tomcat does not support PROPPATCH.  A 
quick scan of the mailing list showed this thread:

http://marc.info/?l=tomcat-userm=113347144015186w=2

Note that Apache Slide is no longer maintained, but you should be able to 
use Apache Jackrabbit.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




tomcat7-maven-plugin using standardjarscanner instead of webappclassloader

2015-02-04 Thread Alexander Johnson
Original question here:  
http://stackoverflow.com/questions/28181602/whats-the-difference-between-webappclassloader-and-standardjarscanner

I'm able to run my team's webapp on my local machine using the 
tomcat7-maven-plugin.  Unfortunately when I attempt to do the same on the build 
server it breaks.  This is a blocking issue for our team, but none of us are 
able to figure it out.  Nobody on Stack Overflow has been able to help either.

Here is the tomcat7-maven-plugin configuration in our project:

profiles
   !-- Version 2.2 of the Tomcat7 plugin does not support skip (version 2.3
  purportedly will). As an alternative, we will only include the Tomcat7 
plugin
  and its goals in this profile which is activated by our own parameter. 
Once
  skip is supported we can delete this profile and move the 
plugin/executions
  to the main plugin category for this pom file. --
   profile
  idstart-tomcat-for-integration-tests/id
  activation
 property
name!${skipTomcat}/name
 /property
  /activation
  build
 plugins
!-- We use this plugin to launch Tomcat and locally host the pages
   we just built so that we can run integration tests against them. 
Note that
   configuration for this plugin is stored inside the project 
itself under 
src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/conf
   and does not require additional installation or configuration of 
the actual
   Tomcat application. This is done to minimize configuration 
efforts and avoid
   interfering with normal Tomcat operations. --
plugin
   groupIdorg.apache.tomcat.maven/groupId
   artifactIdtomcat7-maven-plugin/artifactId
   version2.2/version
   configuration
  ajpPort8009/ajpPort
  backgroundProcessorDelay2/backgroundProcessorDelay

  
classLoaderClassorg.apache.catalina.loader.WebappClassLoader/classLoaderClass

  
configurationDir${basedir}/src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/configurationDir
  
contextFile${basedir}/src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/conf/context.xml/contextFile
  contextReloadablefalse/contextReloadable
  forkfalse/fork
  hostNamelocalhost/hostName
  httpsPort8443/httpsPort
  ignorePackagingfalse/ignorePackaging
  jarScanAllDirectoriestrue/jarScanAllDirectories

  
addWarDependenciesInClassloadertrue/addWarDependenciesInClassloader

  path/contentmain/path
  port8080/port
  
serverXml${basedir}/src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/conf/server.xml/serverXml

  !-- NOTE: 'skip' will not be implemented for Tomcat7 plugin 
until
 the 2.3 release. This is a placeholder. --
  skip${skipTomcat}/skip
  
tomcatUsers${basedir}/src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/conf/tomcat-users.xml/tomcatUsers
  
tomcatWebXml${basedir}/src/test/resources/com/MyCompany/MyOrg/MyProject/ui/automation/tomcat7/conf/web.xml/tomcatWebXml
  useNamingtrue/useNaming
  useTestClasspathtrue/useTestClasspath
  updatetrue/update
  
warDirectory${original.build.directory}/${original.build.finalName}/warDirectory
   /configuration
   dependencies
  dependency
 groupIdorg.apache.tomcat.embed/groupId
 artifactIdtomcat-embed-core/artifactId
 version${tomcat.version}/version
  /dependency
  dependency
 groupIdorg.apache.tomcat/groupId
 artifactIdtomcat-util/artifactId
 version${tomcat.version}/version
  /dependency
  dependency
 groupIdorg.apache.tomcat/groupId
 artifactIdtomcat-coyote/artifactId
 version${tomcat.version}/version
  /dependency
  dependency
 groupIdorg.apache.tomcat/groupId
 artifactIdtomcat-api/artifactId
 version${tomcat.version}/version
  /dependency
  dependency
 groupIdorg.apache.tomcat/groupId
 artifactIdtomcat-jdbc/artifactId
 version${tomcat.version}/version
  /dependency
  dependency
 groupIdorg.apache.tomcat/groupId
 artifactIdtomcat-dbcp/artifactId
 

RE: JDBC authentication problem

2015-02-04 Thread Luc DALLEMANE

Hi,

I'm back again with the problem :) 

Firstly, I add the validationQuery and it works and I can see it in postgres 
logs.

But still not able to login after a while of inactivity 

Now, after 15 min of waiting, I'm getting a socket connexion timeout, but seems 
logic after such a long period of trying to connect. 

Thank you again for your ideas and haven't found a solution.

Regards, Luc.

De : Konstantin Kolinko knst.koli...@gmail.com
Envoyé : mardi 3 février 2015 12:33
À : Tomcat Users List
Objet : Re: JDBC authentication problem

2015-02-03 14:29 GMT+03:00 Luc DALLEMANE ldallem...@alaloop.com:
 Hi,

 Thanks for the reply, I tried to add the options you told me about 
 (testWhileIdle, timeBetweenEvictionRunsMillis, and maxConnLifetimeMillis), 
 but I'm still unable to log after un hour ...

Do you have validationQuery configured?  testOnBorrow, testWhileIdle
do not work without it.


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Session being dropped in Virtual Host in 8.0.9

2015-02-04 Thread Rory Kelly
Hi Chris,

They all have a keep-alive, already.

I don't see a single session id in any of those requests, other than
the ib token you said is generated by the rack (a load-balancer?).

Are you sure you have any session at all?
Yes, I have this working in a Windows environment, and it requires a session
as well.
Rack is a bundle of fun, since this application is a Jruby application,
which is being converted into a Java application to run on Tomcat. That's a
whole other can of worms :)

On another note, I'm currently trying to search and see if there's anywhere
that Tomcat writes to that might be causing a permissions error in the linux
environment. Finding info on this is proving to be a bit...difficult,
though.

Kind Regards,
Rory

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 03 February 2015 20:40
To: Tomcat Users List
Subject: Re: Session being dropped in Virtual Host in 8.0.9

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Rory,

On 2/3/15 6:04 AM, Rory Kelly wrote:
 Sorry for the late reply, I wound up working from home yesterday, and
 access to the server was less than ideal I'm just gonna dump the
 Headers from the login get, through to when it dumps me back out at
 the login.

 ##Login

 #request POST /login HTTP/1.1redacted.site.io User-Agent:
 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101
 Firefox/35.0 Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate
 Referer: http://redacted.site.io/login Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836


Connection: keep-alive

 #response HTTP/1.1 200 OK Cache-Control: no-cache, no-store,
 must-revalidate, max-age=0 Connection: keep-alive Content-Length:
 0 Content-Type: text/html;charset=utf-8 Date: Tue, 03 Feb 2015
 10:52:07 GMT Location: http://redacted.site.io/login/challenge
 Server: nginx/1.6.2 (Ubuntu) Set-Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836;
 path=/; expires=Tue, 03 Feb 2015 10:57:07 -; HttpOnly
 X-XSS-Protection: 1; mode=block x-content-type-options: nosniff
 x-frame-options: SAMEORIGIN

 #request GET /login/challenge HTTP/1.1redacted.sitename.io
 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101
 Firefox/35.0
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 en-US,en;q=0.5 gzip, deflate http://redacted.sitename.io/login
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836


keep-alive

 #response HTTP/1.1 200 OK nginx/1.6.2 (Ubuntu) Tue, 03 Feb 2015
 10:47:37 GMT text/html;charset=utf-8 chunked keep-alive no-cache,
 no-store, must-revalidate, max-age=0 1; mode=block nosniff
 SAMEORIGIN
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836;
 path=/; expires=Tue, 03 Feb 2015 10:52:37 -; HttpOnly gzip


 ##Challenge

 #request POST /login/challenge HTTP/1.1redacted.site.io User-Agent:
 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101
 Firefox/35.0 Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate
 Referer: http://redacted.site.io/login/challenge Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836


Connection: keep-alive

 #response HTTP/1.1 200 OK Cache-Control: no-cache, no-store,
 must-revalidate, max-age=0 Connection: keep-alive Content-Length:
 0 Content-Type: text/html;charset=utf-8 Date: Tue, 03 Feb 2015
 10:50:03 GMT Location: http://redacted.site.io/statements Server:
 nginx/1.6.2 (Ubuntu) Set-Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836;
 path=/; expires=Tue, 03 Feb 2015 10:55:03 -; HttpOnly
 X-XSS-Protection: 1; mode=block x-content-type-options: nosniff
 x-frame-options: SAMEORIGIN

 #Request for /statements #request GET /statements
 HTTP/1.1redacted.site.io User-Agent: Mozilla/5.0 (Windows NT 6.1;
 WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate
 Referer: http://redacted.site.io/login/challenge Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836


Connection: keep-alive

 #response HTTP/1.1 302 Found Cache-Control: no-cache, no-store,
 must-revalidate, max-age=0 Connection: keep-alive Content-Length:
 0 Content-Type: text/html;charset=utf-8 Date: Tue, 03 Feb 2015
 10:50:03 GMT Location: http://redacted.site.io/login Server:
 nginx/1.6.2 (Ubuntu) Set-Cookie:
 ib=0c270113fc19aebbd07dd40bb401a3695d17cd722fa5d0b3743cfb8c7ef87836;
 path=/; expires=Tue, 03 Feb 2015 10:55:03 -; HttpOnly
 X-XSS-Protection: 1; mode=block x-content-type-options: nosniff
 x-frame-options: SAMEORIGIN

 ##Redirect GET /login HTTP/1.1redacted.site.io User-Agent:
 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101
 Firefox/35.0 Accept:
 

Re: Tomcat 8.0.15 - error using Web Services

2015-02-04 Thread Marina F
And the XML file that contains that reference is located where in the
web application?

This is the package structure that shows the location of the
Types.xsd. Types.xsd
is included in Account.xsd.

---com
test
-example
--api
---common
schemas
  Types.xsd
---account
schemas
  Account.xsd (xsd:include
schemaLocation=../../common/schemas/Types.xsd /)
---consumer
schemas
  Consumer.xsd (xsd:include
schemaLocation=../../common/schemas/Types.xsd
/)

Please let me know if this doesn't answer the question or there is other
question/response in this thread that I am missing.

Thank you,

Marina

On Wed, Dec 10, 2014 at 8:42 AM, Mark Thomas ma...@apache.org wrote:

 On 10/12/2014 14:21, Marina F wrote:
  Hello,
 
  Tomcat 8.0.15
 
  I am getting an error when using web services. (no errors if using Tomcat
  7.0.50)
 
  Schema:
  xsd:include schemaLocation=../../common/schemas/Types.xsd /
 
  Error:
  Dec 10, 2014 7:59:48 AM org.apache.catalina.core.StandardWrapperValve
 invoke
  SEVERE: Allocate exception for servlet api-ws-soap
  java.lang.IllegalArgumentException: The resource path
  [/../../common/schemas/Types.xsd] has been normalized to [null] which is
  not valid

 And the XML file that contains that reference is located where in the
 web application?

 Mark


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org