Re: [Resin-interest] already a root application context present

2014-03-09 Thread Rick Mann
Any word on this in 4.0.38?

On Jul 9, 2013, at 13:18 , Scott Ferguson f...@caucho.com wrote:

 On 7/8/13 12:38 PM, Rick Mann wrote:
 On Jul 8, 2013, at 09:43 , Scott Ferguson f...@caucho.com wrote:
 
 On 7/6/13 4:54 PM, Rick Mann wrote:
 I'm still getting this error with resin-4.0-36. It seems benign, in that 
 the app continues to run, but I'd like to know what I'm doing wrong.
 I've added a bug report. I'll see if there's some double scanning or
 double initializing.
 
 It's behaving as if there were two spring jars in the WEB-INF/lib. (I'm
 sure there's not, but the behavior seems to be the same as if that was
 happening.)
 It's entirely possible I did something wrong. I don't have a web.xml any 
 more, but I might have some annotation wrong. I still don't fully understand 
 how that's all supposed to work. Here's every *spring* file in my 
 WEB-INF/lib dir:
 
 Thanks. Unless you had two copies of the jars, I don't think it would be 
 a problem on your end.
 
 -- Scott
 
 
 ./WEB-INF/lib/org/springframework/security/spring-security-core/3.1.3.RELEASE/spring-security-core-3.1.3.RELEASE.jar
 ./WEB-INF/lib/org/springframework/spring-aop/3.2.0.RC2/spring-aop-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-beans/3.2.0.RC2/spring-beans-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-context/3.2.0.RC2/spring-context-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-core/3.2.0.RC2/spring-core-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-expression/3.2.0.RC2/spring-expression-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-jdbc/3.2.0.RC2/spring-jdbc-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-orm/3.2.0.RC2/spring-orm-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-test/3.2.0.RC2/spring-test-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-tx/3.2.0.RC2/spring-tx-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-web/3.2.0.RC2/spring-web-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-webmvc/3.2.0.RC2/spring-webmvc-3.2.0.RC2.jar
 
 The Resin installation is fresh; no extra libs in there.
 
 -- Scott
 
 [13-07-06 16:52:02.422] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Spring 
 WebApplicationInitializers detected on classpath: 
 [com.latencyzero.gamecenter.web.WebappInitializer@7c739ebd]
 [13-07-06 16:52:02.456] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root 
 WebApplicationContext
 [13-07-06 16:52:03.931] WARNING com.caucho.server.webapp.WebApp startImpl: 
 java.lang.IllegalStateException: Cannot initialize context because there 
 is already a root application context present - check whether you have 
 multiple ContextLoader* definitions in your web.xml!
at 
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:264)
at 
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at 
 com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3677)
at 
 com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5196)
at 
 com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at 
 com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 
Rick





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] already a root application context present

2013-07-10 Thread Vitaliy Berdinskikh UR6LAD
Hi Scott,

I can't manage the maillist subscription:

* the link http://maillist.caucho.com/mailman/listinfo/resin-interest is not 
available
* the mailbox  resin-interest-requ...@caucho.com is not abailable too, I've 
received next message from Google mail server:

 Technical details of permanent failure:
 Google tried to deliver your message, but it was rejected by the server for 
 the recipient domain caucho.com by peer0304.spam-filter.com. [209.213.83.137].
 
 The error that the other server returned was:
 550 resin-interest-requ...@caucho.com, Recipient unknown

--
73  72!
Vitaliy Berdinskikh
UR6LAD

-- реклама ---
FREEhost.UA - качественный хостинг.PHP 5.2, 5.3, 5.4. Домен бесплатно!
http://freehost.ua?iua

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] already a root application context present

2013-07-10 Thread Nam Nguyen
 Message: 2
 Date: Wed, 10 Jul 2013 11:55:30 +0300
 From: Vitaliy Berdinskikh UR6LAD ur6...@i.ua
 Subject: Re: [Resin-interest] already a root application context
   present
 To: General Discussion for the Resin application server
   resin-interest@caucho.com
 Message-ID: e1uwqbo-00087g...@web09.mi6.kiev.ua
 Content-Type: text/plain; charset=utf-8

 Hi Scott,

 I can't manage the maillist subscription:

 * the link http://maillist.caucho.com/mailman/listinfo/resin-interest is not 
 available

Hi Vitaliy,

The site should be back up.  Sorry about that.

 * the mailbox  resin-interest-requ...@caucho.com is not abailable too, I've 
 received next message from Google mail server:

I'll look into this later.

Thanks,
-- Nam
===
Nam Nguyen, Software Engineer
Caucho Technology
n...@caucho.com
http://blog.caucho.com
http://twitter.com/cauchoresin

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] already a root application context present

2013-07-09 Thread Scott Ferguson
On 7/8/13 12:38 PM, Rick Mann wrote:
 On Jul 8, 2013, at 09:43 , Scott Ferguson f...@caucho.com wrote:

 On 7/6/13 4:54 PM, Rick Mann wrote:
 I'm still getting this error with resin-4.0-36. It seems benign, in that 
 the app continues to run, but I'd like to know what I'm doing wrong.
 I've added a bug report. I'll see if there's some double scanning or
 double initializing.

 It's behaving as if there were two spring jars in the WEB-INF/lib. (I'm
 sure there's not, but the behavior seems to be the same as if that was
 happening.)
 It's entirely possible I did something wrong. I don't have a web.xml any 
 more, but I might have some annotation wrong. I still don't fully understand 
 how that's all supposed to work. Here's every *spring* file in my WEB-INF/lib 
 dir:

Thanks. Unless you had two copies of the jars, I don't think it would be 
a problem on your end.

-- Scott


 ./WEB-INF/lib/org/springframework/security/spring-security-core/3.1.3.RELEASE/spring-security-core-3.1.3.RELEASE.jar
 ./WEB-INF/lib/org/springframework/spring-aop/3.2.0.RC2/spring-aop-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-beans/3.2.0.RC2/spring-beans-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-context/3.2.0.RC2/spring-context-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-core/3.2.0.RC2/spring-core-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-expression/3.2.0.RC2/spring-expression-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-jdbc/3.2.0.RC2/spring-jdbc-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-orm/3.2.0.RC2/spring-orm-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-test/3.2.0.RC2/spring-test-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-tx/3.2.0.RC2/spring-tx-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-web/3.2.0.RC2/spring-web-3.2.0.RC2.jar
 ./WEB-INF/lib/org/springframework/spring-webmvc/3.2.0.RC2/spring-webmvc-3.2.0.RC2.jar

 The Resin installation is fresh; no extra libs in there.

 -- Scott

 [13-07-06 16:52:02.422] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Spring 
 WebApplicationInitializers detected on classpath: 
 [com.latencyzero.gamecenter.web.WebappInitializer@7c739ebd]
 [13-07-06 16:52:02.456] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root 
 WebApplicationContext
 [13-07-06 16:52:03.931] WARNING com.caucho.server.webapp.WebApp startImpl: 
 java.lang.IllegalStateException: Cannot initialize context because there is 
 already a root application context present - check whether you have 
 multiple ContextLoader* definitions in your web.xml!
 at 
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:264)
 at 
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
 at 
 com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3677)
 at 
 com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5196)
 at 
 com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
 at 
 com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] already a root application context present

2013-07-08 Thread Scott Ferguson
On 7/6/13 4:54 PM, Rick Mann wrote:
 I'm still getting this error with resin-4.0-36. It seems benign, in that the 
 app continues to run, but I'd like to know what I'm doing wrong.

I've added a bug report. I'll see if there's some double scanning or 
double initializing.

It's behaving as if there were two spring jars in the WEB-INF/lib. (I'm 
sure there's not, but the behavior seems to be the same as if that was 
happening.)

-- Scott


 [13-07-06 16:52:02.422] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Spring 
 WebApplicationInitializers detected on classpath: 
 [com.latencyzero.gamecenter.web.WebappInitializer@7c739ebd]
 [13-07-06 16:52:02.456] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root 
 WebApplicationContext
 [13-07-06 16:52:03.931] WARNING com.caucho.server.webapp.WebApp startImpl: 
 java.lang.IllegalStateException: Cannot initialize context because there is 
 already a root application context present - check whether you have multiple 
 ContextLoader* definitions in your web.xml!
   at 
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:264)
   at 
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
   at 
 com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3677)
   at 
 com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5196)
   at 
 com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
   at 
 com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] already a root application context present

2013-07-08 Thread Rick Mann

On Jul 8, 2013, at 09:43 , Scott Ferguson f...@caucho.com wrote:

 On 7/6/13 4:54 PM, Rick Mann wrote:
 I'm still getting this error with resin-4.0-36. It seems benign, in that the 
 app continues to run, but I'd like to know what I'm doing wrong.
 
 I've added a bug report. I'll see if there's some double scanning or 
 double initializing.
 
 It's behaving as if there were two spring jars in the WEB-INF/lib. (I'm 
 sure there's not, but the behavior seems to be the same as if that was 
 happening.)

It's entirely possible I did something wrong. I don't have a web.xml any more, 
but I might have some annotation wrong. I still don't fully understand how 
that's all supposed to work. Here's every *spring* file in my WEB-INF/lib dir:

./WEB-INF/lib/org/springframework/security/spring-security-core/3.1.3.RELEASE/spring-security-core-3.1.3.RELEASE.jar
./WEB-INF/lib/org/springframework/spring-aop/3.2.0.RC2/spring-aop-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-beans/3.2.0.RC2/spring-beans-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-context/3.2.0.RC2/spring-context-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-core/3.2.0.RC2/spring-core-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-expression/3.2.0.RC2/spring-expression-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-jdbc/3.2.0.RC2/spring-jdbc-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-orm/3.2.0.RC2/spring-orm-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-test/3.2.0.RC2/spring-test-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-tx/3.2.0.RC2/spring-tx-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-web/3.2.0.RC2/spring-web-3.2.0.RC2.jar
./WEB-INF/lib/org/springframework/spring-webmvc/3.2.0.RC2/spring-webmvc-3.2.0.RC2.jar

The Resin installation is fresh; no extra libs in there.

 -- Scott
 
 
 [13-07-06 16:52:02.422] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Spring 
 WebApplicationInitializers detected on classpath: 
 [com.latencyzero.gamecenter.web.WebappInitializer@7c739ebd]
 [13-07-06 16:52:02.456] INFO com.caucho.server.webapp.WebApp log: 
 WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring root 
 WebApplicationContext
 [13-07-06 16:52:03.931] WARNING com.caucho.server.webapp.WebApp startImpl: 
 java.lang.IllegalStateException: Cannot initialize context because there is 
 already a root application context present - check whether you have multiple 
 ContextLoader* definitions in your web.xml!
  at 
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:264)
  at 
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
  at 
 com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3677)
  at 
 com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5196)
  at 
 com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
  at 
 com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 
Rick Mann
rm...@matterport.com
Matterport, Inc.


-- 
Rick




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest