Windows WAR & Tomcat problems with 3.7 Beta

Need help? Post your questions here.

Moderator: moderators

Windows WAR & Tomcat problems with 3.7 Beta

Postby whimpyjones » Sun May 10, 2009 6:37 pm

After installing the 3.7 beta windows standalone in a Windows Home Server machine with tomcat I am unable to start/connect to Subsonic. Reinstalling the previous version works fine. Here is the tomcat log. Any help is appreciated!

[2009-05-10 08:35:44,296] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.aop.framework.ProxyFactoryBean] for bean with name 'ajaxTagServiceSecure' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.aop.framework.ProxyFactoryBean
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:581)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1364)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:406)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException: org.springframework.aop.framework.ProxyFactoryBean
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:230)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:371)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1157)
... 32 more
Exception in thread "HSQLDB Timer @5dfaf1" java.lang.NullPointerException
at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
whimpyjones
 
Posts: 32
Joined: Sun May 10, 2009 6:33 pm

Postby sindre_mehus » Mon May 11, 2009 6:36 am

Did you follow the steps here: http://subsonic.sourceforge.net/installation.php#war

In particular the ones about deleting stuff in TOMCAT_HOME?
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby Ittie » Mon May 11, 2009 7:24 am

A good morning,

I have exact the same error. 404......

And indeed I did delete the dir and files you mentioned.
I saved the logging, If you want some more details please let me know. I can mail them to you, sindre mehus.

Best regards,
Ittie
Ittie
 
Posts: 7
Joined: Tue Jan 16, 2007 3:54 pm
Location: The Netherlands

Same 3.7 Beta Error

Postby pheckel » Mon May 11, 2009 11:21 am

Same 3.7 Beta error described in my post here (actually the second post in that thread...the first appears to be a red herring).

"Cannot find class [org.springframework.aop.framework.ProxyFactoryBean] for bean with name 'ajaxTagServiceSecure' defined in ServletContext resource"

I did indeed delete all files/directories per the upgrade instructions.
pheckel
 
Posts: 6
Joined: Thu Jan 25, 2007 3:45 am

Postby sindre_mehus » Mon May 11, 2009 11:30 am

Will be fixed in 3.7.beta2. Thanks for reporting!
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby Ittie » Mon May 11, 2009 12:33 pm

No mean time hotfix :lol:
Ittie
 
Posts: 7
Joined: Tue Jan 16, 2007 3:54 pm
Location: The Netherlands

Postby sindre_mehus » Mon May 11, 2009 12:38 pm

Ittie wrote:No mean time hotfix :lol:


Sure! You can try to put this file in TOMCAT_HOME\webapps\subsonic\WEB-INF\lib
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

that did it

Postby whimpyjones » Mon May 11, 2009 2:32 pm

Thanks Sindre!
The hotfix works great.
What a fantastic program, I appreciate all of your effort.
whimpyjones
 
Posts: 32
Joined: Sun May 10, 2009 6:33 pm

Postby Ittie » Wed May 13, 2009 7:32 pm

Indeed the hotfix is working perfect. Thanks! :P
Ittie
 
Posts: 7
Joined: Tue Jan 16, 2007 3:54 pm
Location: The Netherlands


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests