Re: asgard tomcat application 404

2018-02-20 Thread Simon De Uvarow
I don't know about Spring, but according to your exception, and my short
experience, could be a database connection issue.

grails.web.context.GrailsContextLoaderError initializing Grails: Error
creating bean with name 'pluginManager' defined in ServletContext resource
*[/WEB-INF/applicationContext.**xml]*: Invocation of init method failed;
nested exception is java.lang.NullPointerException: Cannot invoke method
getAt() on null object

Usually in the context file is where u define the connection pool, and JPA
stuff.
The null pointer exception makes me imagine that a DB connection, or entity
manager, couldn't be created.

Maybe the asgard database was not created as expected by the app?

Hope it helps,


"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no
traiciones, lo que siempre te ha hecho vivir."

On Tue, Feb 20, 2018 at 12:06 AM, Tim Dunphy  wrote:

> Ok guys. Got it! Thanks for your input. I'll follow up with the Asgard
> list, assuming I can find it.
>
> Thanks
>
> On Fri, Feb 16, 2018 at 2:40 PM, Olaf Kock  wrote:
>
> >
> > On 15.02.2018 23:39, Tim Dunphy wrote:
> >
> >> I'm trying to get Netflix Asgard tomcat app working. I'm using tomcat 9.
> >> I'm using windows.
> >> [...]
> >>
> > Tomcat is about as much involved in this as is Windows. To second
> > Christopher's OT answer: This is a problem of the deployed application,
> not
> > of Tomcat. You should look for help in the Asgard community. Tomcat
> doesn't
> > use spring, thus there's not even common ground.
> >
> > Olaf
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>


Re: asgard tomcat application 404

2018-02-19 Thread Tim Dunphy
Ok guys. Got it! Thanks for your input. I'll follow up with the Asgard
list, assuming I can find it.

Thanks

On Fri, Feb 16, 2018 at 2:40 PM, Olaf Kock  wrote:

>
> On 15.02.2018 23:39, Tim Dunphy wrote:
>
>> I'm trying to get Netflix Asgard tomcat app working. I'm using tomcat 9.
>> I'm using windows.
>> [...]
>>
> Tomcat is about as much involved in this as is Windows. To second
> Christopher's OT answer: This is a problem of the deployed application, not
> of Tomcat. You should look for help in the Asgard community. Tomcat doesn't
> use spring, thus there's not even common ground.
>
> Olaf
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B


Re: asgard tomcat application 404

2018-02-16 Thread Olaf Kock


On 15.02.2018 23:39, Tim Dunphy wrote:

I'm trying to get Netflix Asgard tomcat app working. I'm using tomcat 9.
I'm using windows.
[...]
Tomcat is about as much involved in this as is Windows. To second 
Christopher's OT answer: This is a problem of the deployed application, 
not of Tomcat. You should look for help in the Asgard community. Tomcat 
doesn't use spring, thus there's not even common ground.


Olaf

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



Re: [OT] asgard tomcat application 404

2018-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Tim,

On 2/15/18 5:39 PM, Tim Dunphy wrote:
> I'm trying to get Netflix Asgard tomcat app working. I'm using
> tomcat 9. I'm using windows.
> 
> I can load up the tomcat management and other interfaces no
> problem.
> 
> But when I navigate to /asgard I get a 404 error:
> 
> HTTP Status 404 – Not Found Type Status Report
> 
> Message /asgard/
> 
> Description The origin server did not find a current representation
> for the target resource or is not willing to disclose that one
> exists.
> 
> Apache Tomcat/9.0.5
> 
> I have JAVA_HOME set to C:\Program Files\Java\jdk1.8.0_162
> 
> I placed the asgard.war file in the tomcat\webapps directory.
> 
> This is what I have in my catalina logs:
> 
> 15-Feb-2018 15:59:30.048 INFO [main] 
> org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
> scanned for TLDs yet contained no TLDs. Enable debug logging for
> this logger for a complete list of JARs that were scanned but no
> TLDs were found in them. Skipping unneeded JARs during scanning can
> improve startup time and JSP compilation time. 15-Feb-2018
> 15:59:33.402 SEVERE [main] 
> org.apache.catalina.core.StandardContext.startInternal One or more 
> listeners failed to start. Full details will be found in the
> appropriate container log file 15-Feb-2018 15:59:33.404 SEVERE
> [main] org.apache.catalina.core.StandardContext.startInternal
> Context [/asgard] startup failed due to previous errors
> 
> I have this in the asgard.log file:
> 
> 
> 
> [2018-02-15 15:59:33,389] [main] 
> springframework.web.context.ContextLoaderContext initialization
> failed org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'pluginManager' defined in
> ServletContext resource [/WEB-INF/applicationContext.xml]:
> Invocation of init method failed; nested exception is
> java.lang.NullPointerException: Cannot invoke method getAt() on
> null object at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511
)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:112)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:134)
>
> 
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
> on null object ... 5 more [2018-02-15 15:59:33,397] [main] 
> grails.web.context.GrailsContextLoaderError initializing the 
> application: Error creating bean with name 'pluginManager' defined
> in ServletContext resource [/WEB-INF/applicationContext.xml]:
> Invocation of init method failed; nested exception is
> java.lang.NullPointerException: Cannot invoke method getAt() on
> null object 
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'pluginManager' defined in ServletContext
> resource [/WEB-INF/applicationContext.xml]: Invocation of init
> method failed; nested exception is java.lang.NullPointerException:
> Cannot invoke method getAt() on null object at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511
)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:112)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:134)
>
> 
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
> on null object ... 5 more [2018-02-15 15:59:33,401] [main] 
> grails.web.context.GrailsContextLoaderError initializing
> Grails: Error creating bean with name 'pluginManager' defined in
> ServletContext resource [/WEB-INF/applicationContext.xml]:
> Invocation of init method failed; nested exception is
> java.lang.NullPointerException: Cannot invoke method getAt() on
> null object 
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'pluginManager' defined in ServletContext
> resource [/WEB-INF/applicationContext.xml]: Invocation of init
> method failed; nested exception is java.lang.NullPointerException:
> Cannot invoke method getAt() on null object at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511
)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:112)
>
> 
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorSe
rvice.java:134)
>
> 
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
> on null object
> 
> And this is what I have in the localhost log:
> 
> 15-Feb-2018 15:59:30.077 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log No Spring 
> WebApplicationInitializer types 

asgard tomcat application 404

2018-02-15 Thread Tim Dunphy
I'm trying to get Netflix Asgard tomcat app working. I'm using tomcat 9.
I'm using windows.

I can load up the tomcat management and other interfaces no problem.

But when I navigate to /asgard I get a 404 error:

HTTP Status 404 – Not Found
Type Status Report

Message /asgard/

Description The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.5

I have JAVA_HOME set to C:\Program Files\Java\jdk1.8.0_162

I placed the asgard.war file in the tomcat\webapps directory.

This is what I have in my catalina logs:

15-Feb-2018 15:59:30.048 INFO [main]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
15-Feb-2018 15:59:33.402 SEVERE [main]
org.apache.catalina.core.StandardContext.startInternal One or more
listeners failed to start. Full details will be found in the appropriate
container log file
15-Feb-2018 15:59:33.404 SEVERE [main]
org.apache.catalina.core.StandardContext.startInternal Context [/asgard]
startup failed due to previous errors

I have this in the asgard.log file:



   [2018-02-15 15:59:33,389] [main]
springframework.web.context.ContextLoaderContext initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pluginManager' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
exception is java.lang.NullPointerException: Cannot invoke method getAt()
on null object
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
on null object
... 5 more
[2018-02-15 15:59:33,397] [main]
grails.web.context.GrailsContextLoaderError initializing the
application: Error creating bean with name 'pluginManager' defined in
ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of
init method failed; nested exception is java.lang.NullPointerException:
Cannot invoke method getAt() on null object
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pluginManager' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
exception is java.lang.NullPointerException: Cannot invoke method getAt()
on null object
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
on null object
... 5 more
[2018-02-15 15:59:33,401] [main]
grails.web.context.GrailsContextLoaderError initializing Grails: Error
creating bean with name 'pluginManager' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
exception is java.lang.NullPointerException: Cannot invoke method getAt()
on null object
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pluginManager' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
exception is java.lang.NullPointerException: Cannot invoke method getAt()
on null object
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt()
on null object

And this is what I have in the localhost log:

15-Feb-2018 15:59:30.077 INFO [main]
org.apache.catalina.core.ApplicationContext.log No Spring
WebApplicationInitializer types detected on classpath
15-Feb-2018 15:59:31.319 INFO [main]
org.apache.catalina.core.ApplicationContext.log Initializing Spring root
WebApplicationContext
15-Feb-2018 15:59:33.402 SEVERE [main]