Error in LDAP Authentication for Sun One App Server 8..pls help

I need to authenticate my sun java system application server 8 with openldap server.....
i have added ldap realm as given in the administrators guide http://docs.sun.com/source/817-6088/security.html
My settings in the sun app server were like this:
Realm: ldap
Class Name: com.sun.enterprise.security.auth.realm.ldap.LDAPRealm
directory ldap://10.1.1.79:389
base-dn o=stooges
jaas-context ldapRealm
search-bind-dn cn=StoogeAdmin,o=stooges
search-bind-password secret1
My openldap schema is as follows
file : /etc/openldap/slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
database ldbm
suffix "o=stooges"
rootdn "cn=StoogeAdmin,o=stooges"
rootpw secret1
directory /var/lib/ldap/stooges
defaultaccess read
schemacheck off
lastmod on
index cn,sn,st pres,eq,sub
index uid,userPassword eq
file : /var/lib/ldap/stooges/stooges.ldif
dn: o=stooges
objectClass: top
objectClass: organization
o: stooges
description: The Three Stooges
dn: cn=StoogeAdmin,o=stooges
objectClass: organizationalRole
cn: StoogeAdmin
description: LDAP Directory Administrator
dn: ou=MemberGroupA,o=stooges
ou: MemberGroupA
objectClass: top
objectClass: organizationalUnit
description: Members of MemberGroupA
dn: ou=MemberGroupB,o=stooges
ou: MemberGroupB
objectClass: top
objectClass: organizationalUnit
description: Members of MemberGroupB
dn: uid=vikram,ou=MemberGroupA,o=stooges
uid:vikram
givenName:vicky
objectClass:top
objectClass:person
objectClass:organizationalPerson
objectClass:inetorgperson
sn:kone
cn:Kone Vikram
userPassword:glamsham
When i start ldap server and sun server,
the login page for sun server asks for username and password ....
when i give
username : vikram
password : glamsham
Error page comes.....
HTTP Status 403 - Access to the requested resource has been denied
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
Sun-Java-System/Application-Server-PE-8.0
Subsequent attempts to login gives another error page
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.sun.enterprise.tools.guiframework.exception.FrameworkException: Unabled to handle pre-compiled JSP '/jsp/j_security_check'. Expected pre-compiled classname: 'org.apache.jsp.jsp.j_005fsecurity_005fcheck'.
com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
Sun-Java-System/Application-Server-PE-8.0
So pls... help as to how to go about this..
P.S. My ldap server runs as "ldap" user not as root

Try with "vikram" as a member of "cn=asadmin" group in your LDAP directory...

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

  • 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

  • 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

  • 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

  • Only client cert in Sun One App server

    Hi,
    Is this possible to configure an application for Sun One Application Server 8 Update 1
    to use only Client Cert auth without login with id and password ?
    I configured whole 1043 port to use Client Auth. It works when I enter https://localhost:1043. I provide client cert. But when I enter my app I got 'access denied'.
    The app contains only one jsp page and no roles at all.
    The following is my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" mlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name xml:lang="pl">secure</display-name>
    <servlet>
    <display-name xml:lang="pl">secured</display-name>
    <servlet-name>secured</servlet-name>
    <jsp-file>/secured.jsp</jsp-file>
    </servlet>
    <jsp-config/>
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>WRCollection</web-resource-name>
    <url-pattern>/secured.jsp</url-pattern>
    <http-method>POST</http-method>
    <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint/>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    </login-config>
    </web-app>
    sun-web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
    <sun-web-app>
    <context-root>/secure</context-root>
    <session-config>
    <session-manager persistence-type="memory">
    <manager-properties/>
    <store-properties/>
    </session-manager>
    <session-properties/>
    <cookie-properties/>
    </session-config>
    <cache enabled="false" max-entries="4096" timeout-in-seconds="30">
    <default-helper/>
    </cache>
    </sun-web-app>
    Thank You.

    Hello again.
    I would like to refrain my question.
    In admin console on port 4848 in Http Service node is a http-listener-2 defined.
    In particular there is "Client Authentication" setting.
    This is global setting for all request coming to that port.
    Can I achive the same functionality using web.xml in one of the apps server on the same port without resorting to setting this global option to true ?
    Thank You.

  • 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

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

  • 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

  • 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

  • Clustering Solutions for Sun One Directory Server

    Hi,
    Please let me know the different recommended clustering solutions for Sun One Directory Server.
    Thanks
    Ram

    Please read the documentation of the Sun ONE Directory Server 5.2... Clustering is covered and Agents for Sun Cluster provided.
    Ludovic

  • 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

  • Error during Sun ONE App server 7 startup

    hi
    i am getting the following error when i try to start my app server. given below is the error messages that i am getting. can some one help me with this
    [12/Apr/2003:16:55:49] INFO ( 1688): CORE1116: Sun ONE Application Server 7.0
    [12/Apr/2003:16:55:51] INFO ( 1688): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.0_02] from [Sun Microsystems Inc.]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0002:System MBean initialized:[ias:type=controller]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0002:System MBean initialized:[ias:type=configurator]
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0001:MBeanServer initialized successfully
    [12/Apr/2003:16:55:53] INFO ( 1688): ADM0005:Timestamp files for configuration created for:[admin-server]
    [12/Apr/2003:16:55:54] INFO ( 1688): ADM0005:Timestamp files for configuration created for:[server1]
    [12/Apr/2003:16:55:54] INFO ( 1688): ADM0102: Starting a thread for tracking manual changes
    [12/Apr/2003:16:55:57] INFO ( 1688): IOP5053: Received a locate request on a disabled connection. Locate requests are permitted.
    [12/Apr/2003:16:55:58] INFO ( 1688): JTS5014: Recoverable JTS instance, serverId = [100]
    [12/Apr/2003:16:55:59] INFO ( 1688): RAR5060: Install JDBC Datasources ...
    [12/Apr/2003:16:55:59] INFO ( 1688): JMS5015: Install JMS resources ...
    [12/Apr/2003:16:55:59] SEVERE ( 1688): CORE4007: Internal error: Unexpected Java exception thrown (unknown exception, no description), stack: java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at com.iplanet.ias.jms.IASJmsUtil.getJMSAdminFactory(IASJmsUtil.java:96)
         at com.iplanet.ias.jms.IASJmsUtil.getJMSAdmin(IASJmsUtil.java:107)
         at com.iplanet.ias.jms.IASJmsConfig.getJmsAdmin(IASJmsConfig.java:196)
         at com.iplanet.ias.jms.IASJmsConfig.<init>(IASJmsConfig.java:71)
         at com.iplanet.ias.jms.IASJmsUtil.installJMSResources(IASJmsUtil.java:168)
         at com.sun.enterprise.resource.ResourceInstaller.installJMSResources(ResourceInstaller.java:1383)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:418)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:1415)
         at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:212)
         at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.messaging.jmq.admin.resources.AdminResources, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
         at com.sun.messaging.jmq.admin.util.Globals.getAdminResources(Globals.java:75)
         at com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl.<clinit>(JMSAdminFactoryImpl.java:25)
         ... 12 more
    [12/Apr/2003:16:55:59] SEVERE ( 1688): CORE3186: Failed to set configuration

    hi
    i was able to solve the error :-).
    I was trying to migrate an application from iAS 6.5 to 7.0. During the deployment of the application (using ant scripts) a few jar files required for the application to run were copied to the jdk\jre\lib\ext folder. Those files were the cause of the problem. Once i removed those files i was able to start up the application server..
    Thanks
    Narayan

Maybe you are looking for