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

Similar Messages

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

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

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

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

  • Virtual Directory / path mapping in Sun ONE App Server 7

    Hi,
    I am trying to migrate my application from WebLogic 7
    to Sun ONE App Server 7.0
    In WebLogic, we used the following mapping in weblogic.xml:
    <virtual-directory-mapping>
    <local-path>f:/ekm</local-path>
    <url-pattern>/data/*</url-pattern>
    </virtual-directory-mapping>
    What would be the equivalent in sun-web.xml in Sun ONE?
    Thanks
    Amrit

    This is not deployment instructions.
    Its deployment descriptor like web.xml
    You can find more info here:
    http://docs-pdf.sun.com/816-7150-10/816-7150-10.pdf
    on page 91

  • Sun One App Server 7.0 Enterprise (?)

    Is there a Sun One App Server 7.0 Enterprise Edition being planned ? If so what would be the differences between the standard edition and the enterprise edition ?
    Rahul

    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

  • 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

  • Problem Re-Installing Sun One App Server 7 on Solaris 8

    I will try my best to describe my problem.
    I successfully installed Sun One App Server 7 Standard Edition on Solaris 8. It was installed on a mounted secondary hard disk. That hard disk has since gone bad. I bought a new hard disk and have that mounted.
    I want to install Sun One App Server 7 again. I am installing through the GUI, but do not the options to install the server even though it is completely gone. I guess the installer seems to think that the product is already installed, even though the previous hard disk with all of the application server files are gone. Is there any way to uninstall or remove the installed status of the application server so I can reinstall?
    Thanks.

    Thanks! I tried the prodreg tool and found the Application Server node, and clicked Uninstall. It went through an uninstall process. Even though it came back with an error, the re-install process after worked great. Thanks again.

  • How to generate Webservices.xml using tool in Sun One App Server?

    How to generate Webservices.xml using tool in Sun One App Server?

    Hi,
    The build.xml file should be in a directory from where
    you are running the asant command.
    To resolve the common.xml file not found error,
    open your build.xml and check from which location the common.xml file is incuded.
    In the sample application it is four directories above
    the directory where build.xml is located.
    You can copy the common.xml in the current directory and then change the following in your build.xml
    <!ENTITY include SYSTEM "../../../../common.xml">
    to <!ENTITY include SYSTEM "common.xml">
    Hope this helps.
    Get back in case you have more issues

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

  • Deploy JRC web application on Sun Solaris

    <p>Hi everyone,</p><p>How can i deploy my web application including the JRC on a Sun solaris OS?.</p><p>Can anyone help me?</p><p> Thanks</p>

    <p>This is pretty easy.</p><p>1. Get a Java Application Server running on Sun Solaris</p><p>2. Create a WAR file containing the JRC. (WAR files for Solaris are no different than windows)</p><p><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2014756&sliceId=&dialogID=14310478&stateId=1%200%2014312298">CLICK HERE for instructions to make a war file</a>  </p><p>3. Deploy that WAR file to the App server on the Sun Solaris Box. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

Maybe you are looking for

  • Vendor capacity check when creating PO

    Hello Friends. We have a business process situation where we would like to check Vendor capacity at time of creating PO (NB) for raw materials to ensure that we do not place POs for more than Vendor capacity. Ideally it would be great if there is any

  • How to set a context of "/" ??

    How can i set a context of either "" or "/" such that when i call the URL htpp://localhost:7001/ I go to the location specified for that context ? Is this possible ? Srini

  • IPhoto zeigt Bilder aus RAW Format (Nikon D5100) nur noch komplett schwarz an

    Hallo, beim Importieren über SD-Karte ist mir iPhoto vermehrt abgestürzt. Der Fehler tritt nur in Verbindung mit dem RAW-Format (Nikon D5100) auf. JPEG funktioniert tadellos. Falls der Import doch erfolgreich war (Anzahl der Bilder stark reduziert) s

  • Photo sync with iPad after iOS5 upgrade

    Following upgrade to iOS5 lost all photos & folders on ipad1, folders on windows pc won't sync when ticking all folders, only if using choose folder, if you try to select another folder it first deletes the previously syncd folder. Any ideas?

  • Logging SQL in ODI

    Is there a way to log all the SQL that is generated by ODI to a text file. I thought that there was a switch like -V=5 to accomplish this. I have a lot of SQL statements in a procedure where the table name is made up from an ODI variable. want to mak