Skip to Content
0
Apr 05, 2011 at 12:49 PM

Deploy a Spring/hibernate app on Netwaver Java

151 Views

Hi,

I have a Spring/hibernate application that I need to deploy on my Netwaver java server.

I have just deployeed the code and then I get the code and then I get the following errors.

I have created a local SC with a WAR DC containing the code. I have created an external libery for Struts and one for spring and the other files.

When I deploy the code I get the following error.

Should I only use on libery and is there something else I need to do before I can run the application. I'm using Netweaver 7.11.

1. File:C:\Documents and Settings\XPMUser\workspace71.jdi\LocalDevelopment\SimplePIArchive\figaf.com\com\figaf\simple\piarchive\ear\_comp\gen\default\deploy\figaf.comcomfigafsimplepi~ear.ear

Name:comfigafsimplepiear

Vendor:figaf.com

Location:localDevelopment

Version:20110405133355

Deploy status:Warning

Version:SAME

Description:

1. Warning exception has been returned while the [figaf.com/comfigafsimplepiarchiveear] was starting. Warnings:[

][

Warning occurred on server 9313350 during startApp figaf.com/comfigafsimplepiarchiveear : ASJ.web.000607 (Failed in component: figaf.com/comfigafsimplepiarchiveear, ) Initialization of servlet [action] failed. Check init() method of servlet. Error is: [javax.servlet.UnavailableException: org.apache.commons.digester.Digester.parse(Ljava/net/URL;)Ljava/lang/Object;]

Warning occurred on server 9313350 during startApp figaf.com/comfigafsimplepiarchiveear : ASJ.web.000607 (Failed in component: figaf.com/comfigafsimplepiarchiveear, ) Initialization of servlet [context] failed. Check init() method of servlet. Error is: [org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manageBucketsServices' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'manageBucketsDAO' while setting bean property 'manageBucketsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manageBucketsDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of an object loaded from local variable 'key']

]

Result

Status:Warning