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.

Similar Messages

  • 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. ----

  • 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

  • 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

  • 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.

  • How to deploy exploded war file(from JBoss-Eclipse IDE) to Sun Server 9

    anyone plz tell how to deploy exploded war file (from JBoss-Eclipse IDE) to sun application server 9.i deployed noramllay at tht time404 hrown.plzz tell urgent
    regards,
    S Sunder

    Hi!
    How did You deploy WAR file? Did You try to do this with Application Server Admin Console?
    Thanks,
    Roman.

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • How to deploy a WAR file in JRun server?

    hi,
    I created one war file, now i want to deploy that file in JRun server. can anyone give me an idea of how to deploy that war file in server...

    By following the deployment documentation for your server. This isn't a general purpose "help me do everything" forum

  • Process.conf file not found after installing Sun One Portal Server 6.0

    This extract is from the Sun One Portal Server development guide for logging error or logs in log file. This says that to generate the log, entry should be done to enable logging in process.conf file. I could not find any such file after installing Sun One Portal Server 6.0.
    Any help will be appreciated...
    Reporting Errors to the Robot Log File
    When problems occur, robot application functions should return an appropriate response status code (such as REQ_ABORTED), and they should also log an error inthe error log file.
    To use the error-logging functionality, you must include the file log.h in thesdk/robot/include/libcs directory. After you have ensured that log.h exists in the correct place, you can use the cslog_error macro to report errors. The prototype is in the following format:
    cslog_error(int n, int loglevel, char* errorMessage)
    The first parameter is not currently used (may be used in the future) You can pass
    this as any integer.
    The second parameter is the log level. When the log level is less than or equal to the log level setting in the file process.conf, the error message is written in the robot.log.

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • How Do I enable gzip compression on Sun One Web Server 6.0

    How Do I enable gzip compression on Sun One Web Server 6.0

    Hi,
    Sun ONE webserver 6.0 is over 5 years old and is reaching end of support life. Please consider upgrading to webserver 6.1sp5 which is free:
    http://www.sun.com/download/products.xml?id=434aec1d
    or else the preview version of WebServer 7.0 (also free)):
    http://www.sun.com/download/products.xml?id=446518d5
    For webserver 6.1, the docs for setting up compression are at:
    http://docs.sun.com/source/819-0130/agcontnt.html#wp1019634
    and
    http://docs.sun.com/source/817-6252/npgnsapi.html
    Hope this helps

  • Sun ONE Instant Messaging relation to Sun ONE Portal Server

    Sun ONE Instant Messaging is tightly integrated with the Sun ONE Portal Server. Sun ONE Instant Messaging provides a portlet or channel that displays a list of a given user's online buddies and also provides the capability to archive chat and other forms of IM Communications within the portal server search database. Hence, chat, alerts, news channels and more can be archived and searched using the Search capabilities of the portal server. Indeed, Sun ONE Instant Messaging is a value-added offereng to the core Sun ONE Portal Server.
    It should also be mentioned that Sun ONE Instant Messaging integrates with the Sun ONE Portal Server in other ways. Since the portal server provides a web container, the IM deployment can naturally use the web server provided by the portal server. The portal server also uses a directory server which can also be used by Sun ONE Instant Messaging for User and LDAP group search. Finally, Sun ONE Instant Messaging may also use the portal server's Identity Service to provide single sign-on with the portal server.

    Yes, one can install Sun ONE Instant Messaging on a system that does not contain the Sun ONE Portal Server.

  • Error while Starting Sun One Portal Server 6.0

    Hi Everyone,
    I am trying to install Sun One Portal Server 6.0 Installation. When I start the server (./amserver startall) , I am getting the following in the console
    =========================
    starting auth helpers ...
    done.
    checking for directory server ... directory server already running
    done
    starting web server ... iPlanet-WebServer-Enterprise/6.0SP10 B10/12/2005 00:16
    warning: daemon is running as super-user
    [LS ls1] http://test.myserver.com, port 80 ready to accept requests
    java.lang.NoSuchMethodError: Service
    unable to start
    iPlanet-WebServer-Enterprise/6.0SP10 B10/12/2005 00:16
    warning: daemon is running as super-user
    [LS ls1] http://test.myserver.com, port 8089 ready to accept requests
    java.lang.NoSuchMethodError: Service
    unable to start
    done.
    =========================================================
    When I check in the error log, I am getting the following error message
    ========================================================
    [18/Jul/2008:13:14:42] info (11354): successful server startup
    [18/Jul/2008:13:14:42] info (11354): iPlanet-WebServer-Enterprise/6.0SP10 B10/12/2005 00:16
    [18/Jul/2008:13:14:42] info (11355): Installing a new configuration
    [18/Jul/2008:13:14:42] info (11355): [LS ls1] http://test.myserver.com, port 80 ready to accept requests
    [18/Jul/2008:13:14:42] info (11355): A new configuration was successfully installed
    [18/Jul/2008:13:14:43] failure (11355): Internal error: Unable to find required methods in Java classes
    [18/Jul/2008:13:14:43] failure (11355): Late initialization failed: Error running init function(late) NSServletLateInit: unknown error
    =========================================================================
    Can anybody tell me what could be issue?
    Thanks in Advance.......

    This error is solved.However I don't know about the root cause. We tried using some LDAP server. Then this error get resolved.
    Edited by: Jeya_14 on 31 Jul, 2008 9:09 AM

  • Netmeeting Integration with Sun One Portal Server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

  • Netmeting  with Sun one Portal server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

Maybe you are looking for

  • How to create the pricing procedure for domestic & import.

    HI,     Pls any body let me know how to create the pricing procedure for domestic & import. what is the use of the keys step condiiton condition type from   to  manual required statistic   subtotal requirement caltype basetype. how system will work b

  • Can I use Itune Store with my G4

    I've retired my G4 Power Mac to the Music Room ( the closet in the hall ) . It is WIFI enabled . To use the store it says to update my software  . The new software only works on Intel processors . It use to work . So now is it it obsolete?

  • Inserting with many to many relationship

    db and dev 10g rel2 , hi all , an application for a laboratory ,( patients and tests) i think the relation here is (many to many) , because each patient can have multiple tests, and each test can have multiple patients . what tables should i create ?

  • Meta tag inspector settings

    Hi there. On the GoLive (CS2) meta tag inspector, there are a bunch of different drop down settings. The default is "generator" and others; abstract, author, copyright, date, descriptor, keywords, language, organization, public, ratings, revisits-aft

  • Initiating batch scripts from Maxl Script Editor in Admin Console??

    Guys, Is it possible to initiate batch scripts from Maxl script editor in Admin Console. I dont want to automate the scripts as my data loading process can happen at any time. Thanks in advance A