Help coderanch get a
new server
by contributing to the fundraiser

harkiran singh

Greenhorn
+ Follow
since Jul 19, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by harkiran singh

I have a LDAP security in place on OC4J. I have to create a filter which uses the HttpRequestWrapper to do some preprocessing with the request parameters. I have all the code in place along and the Filter which uses HttpRequestWrapper. Now the problem is that the OC4J gives an error -

Servlet error
javax.servlet.ServletException: JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at com.myapp.filter.RequestFilter.doFilter(RequestFilter.java:429)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

The error happens while executing the following line:

chain.doFilter(new MyHttpServletRequestWrapper((HttpServletRequest) request ), response);

The constructor call MyHttpServletRequestWrapper is successful. Something seems to be wrong as it appears the server is not able to locate the path where to forward to from within the Filter.

If I execute the same code without the JAZN LDAP security everything works fine.

Can anybody please provide some help to resolve this issue?
14 years ago
problem solved, upgraded to java 1.6 update 14 from java 1.6 update 1
14 years ago
Hi,

I installed Glassfish earlier on my system and it worked. I also tried out Apache Geronimo. I had uninstalled Glassfish earlier and now want to install it again. The installation completed successfully. I have changed the default ports, HTTP: 7080, Admin: 7878

I can not access the admin console using

http://localhost:7878/

The page shows that the admin console is being loaded then after couple of seconds the page goes blank. Earlier I was able to load the admin console before I had uninstalled it.

Does anybody has any clue how to fix this?

I found the following error message in the server log file:

INFO: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException:
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:273)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addELResolver(ApplicationConfigProcessor.java:556)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:294)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:113)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:113)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:220)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:310)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:210)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4862)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5551)
at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1951)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1638)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:88)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:115)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:189)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:283)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:296)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)

WARNING: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:330)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:210)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4862)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5551)
at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1951)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1638)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:88)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:115)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:189)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:283)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:296)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
Caused by: com.sun.faces.config.ConfigurationException:
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:273)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addELResolver(ApplicationConfigProcessor.java:556)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:294)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:113)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:113)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:220)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:310)
... 17 more

SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:114)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:115)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:189)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:283)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:296)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)

SEVERE: Exception while loading the app
java.lang.Exception: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:114)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:115)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:189)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:283)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:296)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)

SEVERE: Exception while loading the app : java.lang.Exception: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
15 years ago
ok, problem solved. changed access privileges for the folder "config" under 'glassfish\glassfish\domains\domain1\'

gave "full control" to all users.
hi robin,

i also have the same problem. i am using glassfish v3 on vista. whenever i restart glassfish server the deployed application list is empty, the JDBC Resources and Connection Pools that I had created are all gone. It appears that the changes are not being saved. i have checked the "\glassfish\glassfish\domains\domain1\applications" folder the application files are still there but glassfish does not shows it. i guess something does not gets saved. have you tried reinstalling glassfish?? please keep me updated if you get a solution for this problem.

harkiran