Error when deploy cocoon war file to sun one app server 7

when i deploy cocoon war to sun one app server 7.
i allways get a exception about this:
Type: Exception Report
Message: Internal Server Error
Exception
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:229)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Root Cause
java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.(SecurityManager.java:280)
at org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.(CocoonLogFormatter.java:99)
at org.apache.cocoon.util.log.CocoonLogFormatter.(CocoonLogFormatter.java:127)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:730)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:262)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:229)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
i want to know where i am wrong about cocoon.

should i modify the file about
permission java.lang.RuntimePermission "createClassLoader"
Initialization Problem
Message: Could not find component (key [org.apache.cocoon.components.language.generator.ServerPagesSelector])
Description: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.components.language.generator.ServerPagesSelector])
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
request-uri
/cocoon
full exception chain stacktrace
Original Exception: org.apache.avalon.framework.component.ComponentException: GeneratorSelector (key [org.apache.cocoon.components.classloader.ClassLoaderManager])
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:141)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose(ProgramGeneratorImpl.java:171)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
     at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
     at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
     at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
     at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
     at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
     at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
     at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
Caused by: org.apache.avalon.framework.component.ComponentException: Could not access the Component (key [org.apache.cocoon.components.classloader.ClassLoaderManager])
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:324)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:139)
     ... 28 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
     at java.security.AccessController.checkPermission(AccessController.java:401)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
     at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:586)
     at java.lang.ClassLoader.(ClassLoader.java:186)
     at java.security.SecureClassLoader.(SecureClassLoader.java:53)
     at java.net.URLClassLoader.(URLClassLoader.java:81)
     at org.apache.cocoon.components.classloader.RepositoryClassLoader.(RepositoryClassLoader.java:87)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.reinstantiate(ClassLoaderManagerImpl.java:116)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.(ClassLoaderManagerImpl.java:82)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:308)
     at java.lang.Class.newInstance(Class.java:261)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:212)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:308)
     ... 31 more
Original Exception: org.apache.avalon.framework.component.ComponentException: Could not access the Component (key [org.apache.cocoon.components.classloader.ClassLoaderManager])
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:324)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:139)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose(ProgramGeneratorImpl.java:171)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
     at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
     at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
     at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
     at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
     at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
     at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
     at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
     at java.security.AccessController.checkPermission(AccessController.java:401)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
     at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:586)
     at java.lang.ClassLoader.(ClassLoader.java:186)
     at java.security.SecureClassLoader.(SecureClassLoader.java:53)
     at java.net.URLClassLoader.(URLClassLoader.java:81)
     at org.apache.cocoon.components.classloader.RepositoryClassLoader.(RepositoryClassLoader.java:87)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.reinstantiate(ClassLoaderManagerImpl.java:116)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.(ClassLoaderManagerImpl.java:82)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:308)
     at java.lang.Class.newInstance(Class.java:261)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:212)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:308)
     ... 31 more
Original Exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
     at java.security.AccessController.checkPermission(AccessController.java:401)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
     at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:586)
     at java.lang.ClassLoader.(ClassLoader.java:186)
     at java.security.SecureClassLoader.(SecureClassLoader.java:53)
     at java.net.URLClassLoader.(URLClassLoader.java:81)
     at org.apache.cocoon.components.classloader.RepositoryClassLoader.(RepositoryClassLoader.java:87)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.reinstantiate(ClassLoaderManagerImpl.java:116)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.(ClassLoaderManagerImpl.java:82)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:308)
     at java.lang.Class.newInstance(Class.java:261)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:212)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:308)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:139)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose(ProgramGeneratorImpl.java:171)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
     at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
     at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
     at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
     at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
     at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
     at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
     at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
stacktrace
org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.components.language.generator.ServerPagesSelector])
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:275)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose(ProgramGeneratorImpl.java:171)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
     at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
     at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
     at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
     at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
     at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
     at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
     at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
Caused by: org.apache.avalon.framework.component.ComponentException: GeneratorSelector (key [org.apache.cocoon.components.classloader.ClassLoaderManager])
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:141)
     at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:211)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:286)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)
     ... 24 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could not access the Component (key [org.apache.cocoon.components.classloader.ClassLoaderManager])
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:324)
     at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:437)
     at org.apache.cocoon.components.language.generator.GeneratorSelector.compose(GeneratorSelector.java:139)
     ... 28 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
     at java.security.AccessController.checkPermission(AccessController.java:401)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
     at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:586)
     at java.lang.ClassLoader.(ClassLoader.java:186)
     at java.security.SecureClassLoader.(SecureClassLoader.java:53)
     at java.net.URLClassLoader.(URLClassLoader.java:81)
     at org.apache.cocoon.components.classloader.RepositoryClassLoader.(RepositoryClassLoader.java:87)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.reinstantiate(ClassLoaderManagerImpl.java:116)
     at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.(ClassLoaderManagerImpl.java:82)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:308)
     at java.lang.Class.newInstance(Class.java:261)
     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:212)
     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:308)
     ... 31 more
Apache Cocoon 2.1.2

Similar Messages

  • How to deploy a WAR file to Sun One Portal Server

    Would someone please tell me the instruction of how to deploy a WAR file to Sun One Portal Server 6.2. Thank you.

    I would advise against this. We tried that and it totally hosed the server.xml file and took our staging portal server down.
    I have no idea what was "in" the server.xml or other files, but trying to deploy a .war file using the WS admin interface hosed portal server's settings.

  • Deploying a web application on Sun One app server 7

    Hi,
    I am not able to deploy a web application on sun one server using Sun java studio.
    I have created Jsp, Servlet, Session bean and entity bean.
    When I am creating a web_module in the directory where JSP are kept, it is giving me error "directory is already mounted.
    I have already created EJB modules for both the Session and entity bean.
    Can some one tell me the cause / solution of this problem.

    Hi Amol,
    Thank you very much for replying my question. The contents in my application.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>testwsapp</display-name>
    <description>J2EE Application testwsapp</description>
    <module>
    <web>
    <web-uri>testws_War.war</web-uri>
    <context-root>testws</context-root>
    </web>
    <alt-dd>testws_War.xml</alt-dd>
    </module>
    </application>
    The contents in jaxrpc-ri-runtime.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
    <endpoint
    name='testws'
    interface='contactws.testwsGenServer.testwsRPC'
    implementation='contactws.testwsGenServer.testwsRPCBean'
    tie='contactws.testwsGenServer.testwsRPC_Tie'
    model='null'
    wsdl='/WEB-INF/testws.wsdl'
    service='{urn:testws/wsdl}Testws'
    port='{urn:testws/wsdl}testwsRPCPort'
    urlpattern='/testws'
    </endpoint></endpoints>
    I tried to access and check the web service using:
    http://servername:port/testws/testws
    The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
    By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
    I hope I can hear from you soon.
    Thank you again,
    Jackie

  • Error in deploying the war file on to the weblogic server(6.1)

    Hi,
    I created the war file and tried to deploy it on the weblogic server 6.1 it is unable to deploy and is give these errors i am unable to find out the problem.Can any one help me out in finding why this is so.
    Help will be appreciated
    java.lang.NullPointerException
         at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:253)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:187)
         at $Proxy65.isDeployed(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:744)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Reji

    Hi jmendelak,
    In the warfile i have jsp,servlets,java classes.
    In my working directory i have jsp and html files and in web-inf folder i have a folder by name classes in which i have the servlets and java classes.
    I made the war file and when i tried to deploy i was getting this error.
    I had previously deployed this war file on weblogic6.1 it was working fine.
    I have upgraded my operating sytem to Windows2000 professional from WinNT 4.0.I reinstalled the weblogic again and had set up the environment variables.
    After going through the error could you find out the reason?Is it because some seeting is missing?
    Raji

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • Default data adaptor error when deploying a war file in weblogic

    Hi All,
    Newbie here with a few questions regarding the deployment of OPA 10.1. Really hoping you guys can help...
    1) I'm attempting to deploy an unexploded web-determinations.war file on WebLogic. Thanks to this forum I've got past the issues of "rulebase directory not found" etc. However, i'm now faced with an issue which I can't find any info on. Please see below.
    3672074 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.web.platform.controller.actions.StartSessionAction - Could not instansate defau
    lt data adaptor
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:194)
    at com.oracle.determinations.web.platform.plugins.data.XDSDataAdaptor.<init>(XDSDataAdaptor.
    java:55)
    at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.createInterv
    iewSession(StartSessionAction.java:173)
    at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.getResource(
    StartSessionAction.java:66)
    at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDetermin
    ationsServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
    java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
    ontext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
    140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    I've got the following entry in the application.properties file too...
    # Default XDS data adaptor file path
    #xds.file.path =data
    From what we can see we believe the code is getting a null pointer because of the following method in the WebDeterminationsServletContext class.
    public String resolveFullPath(String path)
    File f = new File(path);
    return f.isAbsolute() ? f.getAbsolutePath() : this.servletContext.getRealPath(path);
    We believe the getRealPath(path), highlighted in red, is returning null. Any ideas how we can resolve this?
    2) The second issue I'm facing is with regards the plugins.libraries property in the application.properties file. I've got the entry as
    plugin.libraries =DataAdaptor.DA;
    which should point to our customised data adaptor. However I'm getting the following error.
    4242994 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.web.platform.servlet.WebDeterminationsServletContext - Can not find class: Data
    Adaptor.DA
    4243025 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.interview.engine.local.LocalInterviewEngine - Can not find class: DataAdaptor.D
    A
    3) Also, does anyone know if it's possible to deploy a web-determinations.war file containing additional internal application code? What we're attempting to do is deliver a single war file which not only holds the web determination code but also all the code for an application which wraps the OWD within it. At present this just isn't working. I'm not sure what the conflict is exactly. The only way i seem to be able to get this working is by deploying the code in two seperate war files.
    Any help on these issues would be greaty appreciated.
    Thanks,
    Taj

    (2) is being caused because your data adaptor plugin is not installed properly. The jar that contains your plugin needs to go in the WEB-INF/lib directory and you must specify the fully qualified class name in the plugin.libraries property of the application.properties file.
    If you haven't provided a custom data adaptor, Web Determinations will configure and attach the default one for use instead, which is file based. If you are deploying to WebLogic as an unxeploded war, you must configure the directory the default data directory the plugin will uses by specifying an absolute path that your instance of Web Determinations has read/write permissions to in the xds.file.path property of the application.properties file. In your case (1) is basically being caused by (2) since if the your data adaptor was loaded correctly the default one wouldn't load at all.
    As for (3) yes it's likely possible, provided you don't have library conflicts. How it's done really depends on what these additional customisations consist of.

  • Error while deploying a war file in Oracle Weblogic 10gr3 server

    Hi
    I am trying to deploy a web application which uses Hibernate 3 in Oracle weblogic 10gr3.But I am getting following exception.The same application gets deployed in tomcat without any problem.
    urce [WEB-INF/servicesContext.xml]: Cannot resolve reference to bean 'genericDao' while setting bean property 'genericDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericDao' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'saasHibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasHibernateSessionFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: Tenant.byUserName, slaUsageOfTenant.bySlaCriterion, ServiceUsage.byCriterion, SLA.getSlaList, ServiceUsage.byTenantId.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'autoMeteringInterceptor' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'validator' while setting bean property 'validator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validator' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'tenant.tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenant.tenantService' defined in ServletContext resource [WEB-INF/servicesContext.xml]: Cannot resolve reference to bean 'genericDao' while setting bean property 'genericDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericDao' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'saasHibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasHibernateSessionFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: Tenant.byUserName, slaUsageOfTenant.bySlaCriterion, ServiceUsage.byCriterion, SLA.getSlaList, ServiceUsage.byTenantId
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:256)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validator' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'tenant.tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenant.tenantService' defined in ServletContext resource [WEB-INF/servicesContext.xml]: Cannot resolve reference to bean 'genericDao' while setting bean property 'genericDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericDao' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'saasHibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasHibernateSessionFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: Tenant.byUserName, slaUsageOfTenant.bySlaCriterion, ServiceUsage.byCriterion, SLA.getSlaList, ServiceUsage.byTenantId
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:256)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:248)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Initially this application was giving me absolute path related errors.But when I made changes to applicationContext.xml as follows,giviing absolute path for Hibernate mapping files
    <property name="mappingDirectoryLocations">
         <list>
         *<value>file:D:\saas-mappings</value>*
         </list>
    </property>
    I have extrached all the *.hbm.xml file to above location that is D:\saas-mappings.But now the application is giving me above mentioned error.The error says that it is related to Named queries.I am pasting the contents of a sample *.hbm.xml file having named query as a sample
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="com.psl.saas.domain">
         <class name="TenantSlaUsage" table="tenantslausage_v2">
                   <id name="tenantId" column="tenantId">
                   </id>
                   <property name="maxValue">
                        <column name="maxValue"></column>
                   </property>
                   <property name="thresholdValue">
                        <column name="thresholdValue"></column>
                   </property>
                   <property name="slaType" column="slaType" type="com.psl.saas.dataservice.SaasEnumSlaType"/>
                   <many-to-one name="slaCriterion" class="SLACriterion" column="slaCriterionName" lazy="false" unique="true" />          
                   <property name="usageCount">
                   <column name="usageCount"></column>
                   </property>
         </class>
         *<query name="slaUsageOfTenant.bySlaCriterion">
              <![CDATA[from com.psl.saas.domain.TenantSlaUsage where tenantId=:tenantId and slaCriterionName=:slaCriterionName]]>
         </query>*
    </hibernate-mapping>
    Any help on this will be greatly appreciated
    Thanks in Advance
    -Sameer Gijare

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • How to deploy a portlet application on Sun One Portal Server?

    Hi all,
    I have developed a JSR168 helloworld portlet.
    how will i deploy that war file to Sun One Portal Server ?
    Thanks & Regards
    ~Neeraj.

    Thanks Shay! I was able to deploy the application per your instructions.
    [10:41:53 AM] Deploying Application...
    [10:42:10 AM] [Deployer:149192]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' is in progress on 'AdminServer'
    [10:42:13 AM] [Deployer:149194]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' has succeeded on 'AdminServer'
    [10:42:13 AM] Application Deployed Successfully.
    [10:42:13 AM] Elapsed time for deployment: 32 seconds
    [10:42:13 AM] ---- Deployment finished. ----

  • Help me Deploy WAR file in SUN iPlanet Web Server 6.1 SP7 using JDK1.6 & JS

    Hi All,
    Can any one help me on this.
    I'm using
    JDK1.6
    JSF1.2
    JSTL1.1
    Hibernate3.2.5
    ANT1.7
    JUnit
    HTML
    Oracle10g
    Trying to deploy this war file in SUN iPlanet Web Server 6.1 SP7. Can I use JDK1.6 & JSF1.2 in web server6.1

    What is the exact version of Web Server you are using? Should be in the error logs or try $start -version
    It would be faster if you can capture and cut and paste the data that is sent between firefox and Web Server in both the cases using /usr/sfw/bin/ssltap (http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html) or ethereal when you try to view that shtml file. We can see if its any different in both cases and try it from there.
    Also verify the steps given in http://docs.sun.com/source/817-1832-10/pgshtml.html
    mime.types should have :
    type=magnus-internal/parsed-html exts=shtml
    obj.conf should have :
    Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)"
    When you activate parsing, magnus.conf should have :
    Init funcs="shtml_init,shtml_send" shlib="install_dir/bin/https/bin/Shtml.dll" NativeThreads="no" fn="load-modules"
    Shtml.dll (or libShtml.so on UNIX), is located in install_dir/bin/https/bin for Windows, and install_dir/bin/https/lib for UNIX.

  • Deploy WAR file in SUN iPlanet Web Server 6.1 SP7 using JDK1.6 & JSF1.2

    Hi All,
    Can any one help me on this.
    I'm using
    JDK1.6
    JSF1.2
    JSTL1.1
    Hibernate3.2.5
    ANT1.7
    JUnit
    HTML
    Oracle10g
    Trying to deploy this war file in SUN iPlanet Web Server 6.1 SP7. Can I use JDK1.6 & JSF1.2 in web server6.1

    What is the exact version of Web Server you are using? Should be in the error logs or try $start -version
    It would be faster if you can capture and cut and paste the data that is sent between firefox and Web Server in both the cases using /usr/sfw/bin/ssltap (http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html) or ethereal when you try to view that shtml file. We can see if its any different in both cases and try it from there.
    Also verify the steps given in http://docs.sun.com/source/817-1832-10/pgshtml.html
    mime.types should have :
    type=magnus-internal/parsed-html exts=shtml
    obj.conf should have :
    Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)"
    When you activate parsing, magnus.conf should have :
    Init funcs="shtml_init,shtml_send" shlib="install_dir/bin/https/bin/Shtml.dll" NativeThreads="no" fn="load-modules"
    Shtml.dll (or libShtml.so on UNIX), is located in install_dir/bin/https/bin for Windows, and install_dir/bin/https/lib for UNIX.

  • Sun ONE App Server 7.0 for Linux - When?

    Hi
    the page about the Platform Edition
    http://wwws.sun.com/software/products/appsrvr_pe/home_appsrvr_pe.html
    states that Sun ONE App Server supports (Redhat) Linux.
    When will there be a download available for Linux?
    Regards
    Steen

    Hi Ralf,
    As of today, the official production release downloads fo App Server 7 are available on http://www.sun.com.
    The Standard Edition for Development and Evaluation includes an option to download the App Server 7 product combined with Sun ONE Studio 4, Enterprise Edition for Java Update 1.
    You can also download the Studio 4 separately and hook it into App Server 7 very easily. See the tutorial included in App Server 7 (<install_dir>/docs/studio-tutorial/) for details.
    Thanks,
    Chris

  • How to develop and deploy Spring framework app in Sun One App Server 8.1

    Hi,
    Can anyone give sample on how to develop and depoly spring framework application in J2EE 1.4 Server or Sun One App Server 8.1 .
    Its very urgently needed for my project to learn and implement spring framework i would very thankful if any one can help.
    Thanking You
    Naveen

    Pretty standard for AS8 to deploy Spring. The only thing to watch for is the security manager, which you'll probably want to turn off.

  • Sun One App Server - Oracle Database 10g

    Hi to all:
    I�m developing a web application that uses an Oracle 10g database and a I want to use Sun One Application Server 7, the problem that I have is when I have been deployed the war file into the server and acces to my application, specifically when I try to acces a JSP that extracts data from database, I don't see anything of the information that I need, that's not the problem, the problem is that in the server console appear a message indicating that an SQLException occour and the message is "No suitable driver".
    I test my methods before deploy the war file and the connection and data extraction are correct, I don't know if the version of the JDBC driver for the connection to Oracle Database 10g is incompatible or if it's impossible to use Sun One App Server 7 with a connection with Oracle 10g.
    I tried with other web servers like Tomcat 5.0 and Sun Application Server 9 and the connection it's perfect.
    Could somebody give some ideas or orientation please?????, im student, all help will be appreciated, thanks!!!

    Rahul,
    Yes there is an Enterprise Edition in the works. It will address the load balancing and fail over needs for deployments. More details are available here: http://wwws.sun.com/software/products/appsrvr_ee/home_appsrvr_ee.html
    We will also be releasing more information in the October and November.
    Cheers,
    Stefan Bolka
    Product Line Manager
    Sun ONE Application Server Enterprise Edition

  • NB & Sun One App Server 8.0 Bundle Admin User/Password & 503 Problem,

    Hi,
    Do you know the the username and password to enter admin console in Netbeans 3.6 & Sun One App Server 8.0 Bundle?
    Also when I executed my first app with the software, I got this message "HTTP Status 503 - This application is not currently available". Can you tell me what is this problem and how to fix it.
    Thanks very much,
    Blessings,
    Lorenzo Jimenez

    Hi,
    Do you see the deployed web application either in the admin console on in the runtime tab explorer of NetBeans, under the
    Sun Java System Application Server 8 --->Applications--->Web Applications
    node?
    503 error is a Service unavailable error:
    "The server is currently unable to handle the HTTP request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. "
    Can you try to reload the page for this web app?
    Ludo

  • Sun One App Server 8.1,Sun One Message Q3.6,administered objects in LDAP

    Hi,
    Has anyone tried hosting an MDB on Sun One App Server 8.1 listening to a queue on Sun One Message Queue 3.6 through administered objects in directory server...? It looks quite straight forward but somehow it doesn't seems to work. Any idea if Sun one app server supports this type of architecture...?
    Regards,
    Pritesh

    Hi,
    Even I didn't see any obvious reason why it shouldn't work untill I found that Sun One App Server 8.1 does not support external JNDI lookup to Sun MQ 3.6 through administered objects. However, it is possible using a newly released generic resource adapter for JMS 1.5 RC1. I am still fighiting on it and let you know if it works.
    I was getting an error "JMS resource can not be created" during deployment time.
    Regards,
    Pritesh Thakor

Maybe you are looking for

  • Error While Generating the Proxy Objects

    Hi All, While Generating the Proxy Obects in SPROXY at SAP R/3 side, Iam getting this Error http://img169.imageshack.us/img169/5752/proxylm0.jpg Can any one Occured this type of Error Regards Suman

  • Need help in this jquery ajax response

    Hi Below is the code i got from internet trying to test but alwys getting false alert event the record does not xist in DB. Below is the code <script language="javascript" src="jquery-1.4.2.js"></script>     <script type="text/javascript">           

  • Condition Dependent Document Output

    Hello, all Please help me, We have extended classic scenario in SRM 5.0. May I to use Condition Dependent Document Output in Spro if  I need  to print 2 smartforms for one purchase order? Best regards, Guzal

  • To color background of a screen and border them.

    Hi Experts, Need to color the background of a screen , can this be done without object oriented programming...need to border them also... Thanx.

  • One more quick question

    You said that I could install a Cloud subscription to CS6 on two computers.  What happens if I replace one of the computers?  Does the agreement transfer, or do I lose the use of CS6 on my new machine?