2 users can't login - HTTP Status 500 - on Teaming 2.0
I have 2 user that can't login to Teaming 2.0. They get this error: "HTTP Status 500". Even if I enter a bogus password for them the "HTTP Status 500" error occurs. I use LDAP authentication to eDirectory. These users DON'T have duplicate objects in my tree. In eDirectory they have first name, last name, full name, phone number and email address entries. All other users can login. Where are the Apache Tomcat/6.0.18 logs on a SLES 10 install of Teaming 2.0? There are log files in /opt/novell/teaming/
Browser screen content:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.dao.IncorrectResultSizeDataAcc essException: Incorrect result size: expected 1, actual 2
org.springframework.security.ldap.SpringSecurityLd apTemplate$3.executeWithContext(SpringSecurityLdap Template.java:204)
org.springframework.ldap.core.LdapTemplate.execute WithContext(LdapTemplate.java:807)
org.springframework.ldap.core.LdapTemplate.execute ReadOnly(LdapTemplate.java:793)
org.springframework.security.ldap.SpringSecurityLd apTemplate.searchForSingleEntry(SpringSecurityLdap Template.java:190)
org.springframework.security.ldap.search.FilterBas edLdapUserSearch.searchForUser(FilterBasedLdapUser Search.java:118)
org.springframework.security.providers.ldap.authen ticator.BindAuthenticator.authenticate(BindAuthent icator.java:82)
org.springframework.security.providers.ldap.LdapAu thenticationProvider.authenticate(LdapAuthenticati onProvider.java:229)
org.springframework.security.providers.ProviderMan ager.doAuthentication(ProviderManager.java:195)
org.springframework.security.AbstractAuthenticatio nManager.authenticate(AbstractAuthenticationManage r.java:46)
org.kablink.teaming.module.authentication.impl.Aut henticationModuleImpl.doAuthenticate(Authenticatio nModuleImpl.java:280)
org.kablink.teaming.module.authentication.impl.Aut henticationModuleImpl.authenticate(AuthenticationM oduleImpl.java:245)
sun.reflect.GeneratedMethodAccessor660.invoke(Unkn own Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
org.springframework.aop.framework.ReflectiveMethod Invocation.invokeJoinpoint(ReflectiveMethodInvocat ion.java:182)
org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
org.kablink.teaming.search.interceptor.IndexSynchr onizationManagerInterceptor.invoke(IndexSynchroniz ationManagerInterceptor.java:67)
org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
org.springframework.aop.interceptor.AbstractTraceI nterceptor.invoke(AbstractTraceInterceptor.java:11 3)
org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
$Proxy21.authenticate(Unknown Source)
org.springframework.security.providers.ProviderMan ager.doAuthentication(ProviderManager.java:195)
org.springframework.security.AbstractAuthenticatio nManager.authenticate(AbstractAuthenticationManage r.java:46)
org.springframework.security.ui.webapp.Authenticat ionProcessingFilter.attemptAuthentication(Authenti cationProcessingFilter.java:82)
org.springframework.security.ui.AbstractProcessing Filter.doFilterHttp(AbstractProcessingFilter.java: 252)
org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
org.springframework.security.ui.logout.LogoutFilte r.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
org.springframework.security.context.HttpSessionCo ntextIntegrationFilter.doFilterHttp(HttpSessionCon textIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
org.kablink.teaming.spring.security.ZoneGrabbingFi lter.doFilterHttp(ZoneGrabbingFilter.java:58)
org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
org.springframework.security.util.FilterChainProxy .doFilter(FilterChainProxy.java:174)
org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:236)
org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:167)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
You need to be sure that it is not an LDAP problem... the best way is to start from LDAP to investigate. Enable the LDAP trace on eDir with imonitor, during the teaming login. Also you can use ldapsearch to have full details on the accounts in order to compare them with a working user (a space somewhere, an additional attribute, etc...).
Similar Messages
-
What can I do about http status 500 error report?
I have Windows and want to log in to a bank website. I click the Log In button and get this message:
"Http status 500" and that "The server encountered an internal error () that prevented it from fulfilling this request." and "Path webClient.passmark.login does not start with a "/" character" and "he full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs."
I have tried the "secure Connection failed" troubleshooting without luck. What can I do?Does a direct link to the login page work?
*https://secure.ally.com/allyWebClient/login.do
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
I get the following error when trying to user Show & Share (HTTP Status 500)
I get the following error when I try to use Show and Share. I have cycled the power on the server but still the same message.
How can I correct this?
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
root cause
java.lang.NullPointerException
org.apache.jsp.login_jsp._jspService(login_jsp.java:1002)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
Apache Tomcat/6.0.14Good morning,
Please, open a TAC service request to have this investigated further.
When you do, please, attach the exact steps you follow to get this error, as well as a sysreport from the Show and Share appliance.
Also, it would be good to confirm whether other users are also seeing the same error or not.
Regards
Daniel -
Login to LMS4 failed with HTTP Status 500
Hello,
I've done an upgrade from LMS 3.1 to LMS 4.01. I installed all updates and I changed the logon security to https.
Evrything was working fine until the last deviceupdate and restart of the deamon manager.
Now I can insert usernam and password and then I get an HTTP Status error 500:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.cisco.nm.gs.ui.helper.GSHelper
com.cisco.nm.gs.ui.actions.GSInterceptor.perform(GSInterceptor.java:112)
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.29 logs.
What can I do to solve the problem?
Kind regards
LudwigHi Afroj,
it didn't work.
Error HTTP status 500
But the error text is shorter:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.cisco.nm.xms.psu.conf.Conf
com.cisco.nm.xms.psu.util.PsuLibrary.getCurrentVersion(PsuLibrary.java:513)
com.cisco.nm.cmf.home.util.CSHPUtil.getCSVersion(CSHPUtil.java:534)
com.cisco.nm.cmf.home.uii.action.CSHPAction.perform(CSHPAction.java:63)
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.29 logs.
Apache Tomcat/5.5.29
Kind regards Ludwig -
Glassfish and Listener error : HTTP Status 500 - System Unavailable.
Hello,
I 've some problem. When i'm working in workspace and develope my application everything fine, but when i try to run it , i have this :
HTTP Status 500 - System Unavailable. Please try again later.
type Status report
messageSystem Unavailable. Please try again later.
descriptionThe server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
Oracle GlassFish Server 3.1
After refreshing, page work fine , but every actions in application have this problem. Well, users can't work normaly with my application.
Please help me with this problem.
I use Oracle 10g , Apex 4.0 , Glassfish 3.1, redhat 5
Sorry for my bad english.
Egor Karmanov.
Edited by: 843328 on 07.06.2011 1:58Hello Egor,
<ol><li>I see one error that seems to occur often on your server:
ORA-20867: ORA-12705: invalid or unknown NLS parameter value specified
ORA-02063: preceding line from WWW
ORA-06512: at "SYS.DBMS_SESSION", line 153
ORA-06512: at "APEX_040000.WWV_FLOW_LANG", line 387
ORA-06512: at "APEX_040000.WWV_FLOW", line 9328
ORA-06512: at "APEX_040000.F", line 267
ORA-06512: at "APEX_040000.F", line 294
ORA-06512: at line 2Probably you have some unsupported language or characterset configured for your application or APEX instance as default, which is not taken when you login to your application builder.
</li>
<li>What I see from your log as well: You still use APEX Listener version : 1.1.0.60.10.38, I'd recommend to update to the current 1.1.2 release.
</li>
<li>I see some other errors and warnings in your log, e.g.
WARNING|oracle-glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-1;|PWC4011: Unable to set request character encoding to UTF-8 from context /apex, because request parameters have already been read, or ServletRequest.getReader() has already been calledand
SEVERE|oracle-glassfish3.1|org.apache.tomcat.util.digester.Digester|_ThreadID=10;_ThreadName=Thread-1;|Digester.getParser:
javax.xml.parsers.ParserConfigurationException: The XDK supports only namespace-aware parsers.
[...]The warning can easily be ignored. I'd recommend to disable it to make keep your log file smaller and clear. See the [url http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding]GlassFish FAQ for that warning.
The severe error is more interesting. There seems to be a problem concerning the XML parser, probably due to a library conflict. There was a thread on a similar issue concerning Tomcat ({thread:id=2174509}), but possibly such things can happen on GlassFish as well, especially when you have installed some global libraries. As you can see in the Tomcat-Thread, removing xmlparserv2-11.2.0.jar from +\apex\WEB-INF\lib+ solved the problem there.
</li>
</ol>
I hope these points help you to solve your problem. If not, can you post some additional information about your NLS/LC settings in GlassFish/Java/APEX environments?
-Udo -
The following error
HTTP Status 500 - while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable 'globalProperties'
occurred after installing DS Management Console and IPS Services on BI Enterprise Server
BI Enterprise Edition 4.1 SP1 and BODS 4.1 SP1Hi,
If you can't see the login screen of the CMC then it's a problem of webapps and not EIM services.
Try cleaning the Tomcat cache for the BOE webapps and let Tomcat re cache it. Often it does the job.
- Stop Tomcat
- Rename the BOE folder to BOE-OLD in C:\Program Files (x86)\SAP BusinessObjects\tomcat\work\Catalina\localhost\
- Start Tomcat
When the Tomcat process in task manager is done working (it can take 10-20 min+) then try again.
When you're done, you can delete the BOE-OLD folder.
Let me know! -
GlassFish HTTP Status 500 Apex
Hi,
I though I will make my life easier (as I am new to Oracle) by installing Apex 4.01 on my Oracle 11g on Microsoft Server 2008 with GlassFish Server Open Source Edition 3.0.1
Installed ApexListner and Configured - works fine.
Followed the Oracle instructions to the letter, all works till I try to start Application Express ( http://<mylocalhost>:8080/apex/apex_admin) and I get:
HTTP Status 500 - System Unavailable. Please try again later.
type: Status report
message: System Unavailable. Please try again later.
description: The server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
GlassFish Server Open Source Edition 3.0.1
Any idea how I can get to bottom of this?
Is it possible that GlassFish does not work on Microsoft Server 2008?
Many thanks for your help and your time spent looking at my post.
Izzy
(Now I will go and spend the whole weekend worrying about it)Hi Udo,
thank you for your response.
Here is the GlassFish JVM log:
<?xml version='1.0' encoding='UTF-8'?>
<hotspot_log version='160 1' process='3300' time_ms='1285241826707'>
<vm_version>
<name>
Java HotSpot(TM) 64-Bit Server VM
</name>
<release>
17.0-b17
</release>
<info>
Java HotSpot(TM) 64-Bit Server VM (17.0-b17) for windows-amd64 JRE (1.6.0_21-b07), built on Jul 17 2010 01:05:36 by "java_re" with MS VC++ 8.0 (VS2005)
</info>
</vm_version>
<vm_arguments>
<args>
-XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -XX:+LogVMOutput -XX:LogFile=C:\glassfishv3\glassfish\domains\domain1/logs/jvm.log -Xmx512m -javaagent:C:/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true -Dosgi.shell.telnet.maxconn=1 -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Dfelix.fileinstall.dir=C:\glassfishv3\glassfish/modules/autostart/ -Djavax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks -Dosgi.shell.telnet.port=6666 -Djava.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy -Dfelix.fileinstall.poll=5000 -Dcom.sun.aas.instanceRoot=C:\glassfishv3\glassfish\domains\domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.ip=127.0.0.1 -Djava.endorsed.dirs=C:\glassfishv3\glassfish/modules/endorsed;C:\glassfishv3\glassfish/lib/endorsed -Dcom.sun.aas.installRoot=C:\glassfishv3\glassfish -Djava.ext.dirs=C:\glassfishv3\jdk/lib/ext;C:\glassfishv3\jdk/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext -Dfelix.fileinstall.bundles.new.start=true -Djavax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djava.security.auth.login.config=C:\glassfishv3\glassfish\domains\domain1/config/login.conf -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dfelix.fileinstall.debug=1 -Dorg.glassfish.web.rfc2109_cookie_names_enforced=false -Djava.library.path=C:/glassfishv3/glassfish/lib;C:/glassfishv3/jdk/bin;C:/glassfishv3/glassfish;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;E:/app/Izabela/product/11.1.0/db_1/BIN;E:/app/Izabela/OraHome_1/BIN;C:/Windows/System32/wbem
</args>
<command>
com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args start-domain,,,domain1 -instancename server -verbose false -debug false -asadmin-classpath C:/glassfishv3/glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade false -domaindir C:/glassfishv3/glassfish/domains/domain1 -read-stdin true
</command>
<launcher>
SUN_STANDARD
</launcher>
<properties>
java.vm.specification.version=1.0
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.version=17.0-b17
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode, sharing
java.ext.dirs=C:\glassfishv3\jdk/lib/ext;C:\glassfishv3\jdk/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext
java.endorsed.dirs=C:\glassfishv3\glassfish/modules/endorsed;C:\glassfishv3\glassfish/lib/endorsed
sun.boot.library.path=C:\glassfishv3\jdk\jre\bin
java.library.path=C:/glassfishv3/glassfish/lib;C:/glassfishv3/jdk/bin;C:/glassfishv3/glassfish;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;E:/app/Izabela/product/11.1.0/db_1/BIN;E:/app/Izabela/OraHome_1/BIN;C:/Windows/System32/wbem
java.home=C:\glassfishv3\jdk\jre
java.class.path=C:/glassfishv3/glassfish/modules/glassfish.jar
sun.boot.class.path=C:\glassfishv3\glassfish/modules/endorsed\javax.annotation.jar;C:\glassfishv3\glassfish/modules/endorsed\jaxb-api-osgi.jar;C:\glassfishv3\jdk\jre\lib\resources.jar;C:\glassfishv3\jdk\jre\lib\rt.jar;C:\glassfishv3\jdk\jre\lib\sunrsasign.jar;C:\glassfishv3\jdk\jre\lib\jsse.jar;C:\glassfishv3\jdk\jre\lib\jce.jar;C:\glassfishv3\jdk\jre\lib\charsets.jar;C:\glassfishv3\jdk\jre\classes
osgi.shell.telnet.maxconn=1
jdbc.drivers=org.apache.derby.jdbc.ClientDriver
felix.fileinstall.dir=C:\glassfishv3\glassfish/modules/autostart/
javax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks
osgi.shell.telnet.port=6666
java.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy
felix.fileinstall.poll=5000
com.sun.aas.instanceRoot=C:\glassfishv3\glassfish\domains\domain1
com.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
osgi.shell.telnet.ip=127.0.0.1
com.sun.aas.installRoot=C:\glassfishv3\glassfish
felix.fileinstall.bundles.new.start=true
javax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks
com.sun.enterprise.security.httpsOutboundKeyAlias=s1as
java.security.auth.login.config=C:\glassfishv3\glassfish\domains\domain1/config/login.conf
ANTLR_USE_DIRECT_CLASS_LOADING=true
felix.fileinstall.debug=1
org.glassfish.web.rfc2109_cookie_names_enforced=false
sun.java.launcher=SUN_STANDARD
</properties>
</vm_arguments>
<tty>
<writer thread='2944'/>
<dependency_failed type='leaf_type' ctxk='java/io/ByteArrayOutputStream' witness='com/sun/common/util/logging/LoggingOutputStream' stamp='13.658'/>
<writer thread='4100'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.125'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.125'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.125'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<dependency_failed type='abstract_with_unique_concrete_subtype' ctxk='java/nio/ByteBuffer' x='java/nio/HeapByteBuffer' witness='java/nio/DirectByteBuffer' stamp='15.126'/>
<writer thread='2944'/>
<dependency_failed type='unique_concrete_method' x='java/io/ObjectOutputStream replaceObject (Ljava/lang/Object;)Ljava/lang/Object;' witness='com/sun/enterprise/container/common/spi/util/JavaEEObjectOutputStream' stamp='17.512'/>
<dependency_failed type='unique_concrete_method' x='java/lang/ThreadLocal get ()Ljava/lang/Object;' witness='org/glassfish/web/admin/monitor/HttpServiceStatsProvider$1' stamp='17.529'/>
<dependency_failed type='unique_concrete_method' x='java/lang/ThreadLocal get ()Ljava/lang/Object;' witness='org/glassfish/web/admin/monitor/HttpServiceStatsProvider$1' stamp='17.529'/>
<dependency_failed type='unique_concrete_method' x='java/lang/ThreadLocal get ()Ljava/lang/Object;' witness='org/glassfish/web/admin/monitor/HttpServiceStatsProvider$1' stamp='17.529'/>
<dependency_failed type='unique_concrete_method' x='java/util/ArrayList add (Ljava/lang/Object;)Z' witness='javax/management/AttributeList' stamp='19.114'/>
<dependency_failed type='unique_concrete_method' x='java/util/ArrayList add (Ljava/lang/Object;)Z' witness='javax/management/AttributeList' stamp='19.114'/>
<dependency_failed type='unique_concrete_method' x='java/util/ArrayList add (Ljava/lang/Object;)Z' witness='javax/management/AttributeList' stamp='19.114'/>
<dependency_failed type='unique_concrete_method' x='java/util/ArrayList add (Ljava/lang/Object;)Z' witness='javax/management/Attri
The Apex_Public_User was unlocked and the passowrd was set.
I configured all as per installation guide till the part where you go and log in to apex (as I can not) and start setting workspaces.
(sorry I am new to this)
Once again thank you
Izzy -
HTTP Status 500 Bug might be difficult.
form action="myGroupRegistration" method="post" name="GroupRegistration" id="GroupRegistration">
the web.xml file in WEB-INF is the following
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>GroupRegistration</servlet-name>
<servlet-class>GroupRegistration</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GroupRegistration</servlet-name>
<url-pattern>/Activities/myGroupRegistration</url-pattern>
</servlet-mapping>
</web-app>
The source code of the GroupRegistration.java file is the following:
package mypackage;
import java.sql.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class GroupRegistration extends HttpServlet
Connection con;
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, java.io.IOException
handleForm(req, res);
public void init() throws ServletException {
try{
/* Loading the driver for the database */
Class.forName("com.mysql.jdbc.Driver");
Connection Con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=");
catch (ClassNotFoundException e) {
throw new UnavailableException("Couldn't load JdbcOdbcDriver");
catch (SQLException e) {
throw new UnavailableException("Couldn't get db connection");
private void handleForm(HttpServletRequest req, HttpServletResponse res)
throws ServletException {
//ServletOutputStream out = res.OutputStream();
//res.setContentType("text/html");
//Extract the form Data Here
String group = req.getParameter("GroupNo");
String Name1 = req.getParameter("Name1");
String LoginID1 = req.getParameter("LoginID1");
String Name2 = req.getParameter("Name2");
String LoginID2 = req.getParameter("LoginID2");
String Name3 = req.getParameter("Name3");
String LoginID3 = req.getParameter("LoginID3");
String Name4 = req.getParameter("Name4");
String LoginID4 = req.getParameter("LoginID4");
String URL = req.getParameter("URL");
String Title2 = req.getParameter("Title2");
String date = req.getParameter("date");
String INSERT = "INSERT INTO registration (groupno, name1, loginid1, name2, loginid2, name3, loginid3, name4, loginid4, url, topic, date) VALUES (" + group + "," + Name1 + "," + LoginID2 + "," + Name2 + "," + LoginID2 + "," + Name3 + "," + LoginID3 + "," + Name4 + "," + LoginID4 + "," + URL + "," + Title2 + "," + date + ")";
PreparedStatement pstmt = null;
try{
pstmt = con.prepareStatement(INSERT);
pstmt.executeUpdate();
catch (SQLException e) {
throw new ServletException(e);
finally {
try {
if (pstmt != null)pstmt.close();
catch (SQLException ignored){
I have the class file in \WEB-INF\classes\mypackage directory
And when i press the submit button it moutputs the following:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Wrapper cannot find servlet class GroupRegistration or a class it depends on
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)
root cause
java.lang.ClassNotFoundException: GroupRegistration
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1443)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)
CAN SOMEBODY HELP ME PLEASE?That did the work ....
I actually found it before your comment but THANKS ANYWAY.
I hope your comment will help others.
The program now has another problem in my 69th line of my servlet code
PreparedStatement pstmt = null;
try{
Here* pstmt = con.prepareStatement(INSERT);
pstmt.executeUpdate();
catch (SQLException e) {
throw new ServletException(e);
finally {
try {
if (pstmt != null)pstmt.close();
catch (SQLException ignored){
the output from the Server is
java.lang.NullPointerException
at mypackage.GroupRegistration.handleForm(GroupRegistration.java:69)
It somethink about the connectivity?
But if it it why?
It initialises correct with the database in the init() method...
:( Weird stuff -
We have a form in Form Manager that sends us back to the login page after clicking on the submit button. This usually happens when it takes us more than 1 hour to complete the form.
When I try to login again and click on the link to open the form, I get this message on the right side of Form Manager:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.adobe.fm.filter.TimeoutFilter.doFilter(TimeoutFilter.java:214)
com.adobe.fm.filter.PortalSSOFilter.doFilter(PortalSSOFilter.java:125)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
We suspect that this is a timeout issue. We already changed the web.xml file and increased the session-timeout to 5 hours but the error still occurs. Please help. Thanks.Hi Melissa
I have asked Adobe numerous times about how to modify the default timeout in Form Manager. The response has always been that there is no way to do this.
I'm not trying to dissuade you from trying, and it would be great to find a solution, but I wouldn't hold out too much hope :-)
This comes down to a training issue - if the user is going to leave the form for any length of time, they should save the form as a draft.
Good luck...
Howard
http://www.avoka.com
PS. I haven't tried this yet, but I suspect that this will be much easier to tweak in LiveCycle ES. So another option is to consider upgrading. -
HTTP Status 500 - System Unavailable
Since upgrading to Apex 4 using glassfish the users will intermittently get the error:
HTTP Status 500 - System Unavailable. Please try again later.
type Status report
messageSystem Unavailable. Please try again later.
descriptionThe server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
GlassFish v3
using the packaged application bug tracker. When a user reports a problem and I log in as a developer so I can try to determine what the issue is the error will not occur. However if I log in just as the user then sometimes I can repeat the error and sometimes I can't....
Any Ideas?Since upgrading to Apex 4 using glassfish the users will intermittently get the error:
HTTP Status 500 - System Unavailable. Please try again later.
type Status report
messageSystem Unavailable. Please try again later.
descriptionThe server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
GlassFish v3
using the packaged application bug tracker. When a user reports a problem and I log in as a developer so I can try to determine what the issue is the error will not occur. However if I log in just as the user then sometimes I can repeat the error and sometimes I can't....
Any Ideas? -
html:submit causes HTTP Status 500
Hi guys,
I did some modification to my struts project and apparently I am getting the notorious message below. I removed the tags:
<html:submit> and </html:submit>
And the project works! What is the reason this is happening and how can I use those tags?
* I checked to verify and my struts-html-el.tld is located under the /WEB-INF
Thanks
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /login.jsp:50
47: </tr>
48: <tr>
49: <td colspan="2" align="center">
50: <html:submit>
51: <fmt:message key="login.button.signon"/>
52: </html:submit>
53:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)oh...i forgot...the root cause:
root cause
java.lang.NoClassDefFoundError
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:722)
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:712)
org.apache.jsp.login_jsp._jspx_meth_html_submit_0(login_jsp.java:431)
org.apache.jsp.login_jsp._jspx_meth_html_form_0(login_jsp.java:262)
org.apache.jsp.login_jsp._jspService(login_jsp.java:110)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) -
Error message - HTTP Status 500 -
sir,
i deployed my struts application using simple form bean and am getting the error message HTTP Status 500- . please guide me to solve this problem. im presenting you the source code i had written. please kindly check this and give the solution.
this is the login.html
<html>
<body bgcolor=#23533234>
<center>
<pre>
<form action=login.do>
<font size=10 color=pink>welcome</font>
<font size=5 color=pink>
username:<input type=text name=un>
<br><br>
password:<input type=password name=pw>
<br><br>
<input type=submit value=G e t I n>
</font>
</form>
</pre>
</center>
</body>
</html>
this is the AdminHome.jsp
Response from AdminHome page
this is the UserHome.jsp
Response from UserHome.jsp
this is the LoginModel.java
package com.nit.struts;
public class LoginModel
public String validate(String name,String pass)
if(name.equals("user1")&&pass.equals("pass1"))
return "admin";
this is the LoginAction.java
package com.nit.struts;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;
public class LoginAction extends Action
public ActionForward execute(ActionMapping am, ActionForm af, HttpServletRequest req, HttpServletResponse res)throws Exception
UserDetails ud=(UserDetails)af;
String uname=ud.getName();
String upass=ud.getPass();
// String uname=req.getParameter("un");
// String upass=req.getParameter("pw");
LoginModel lm=new LoginModel();
String user_type=lm.validate(uname,upass);
if(user_type==null)
return am.findForward("fail");
return am.findForward(user_type);
this is the UserDetails.java
package com.nit.struts;
import org.apache.struts.action.*;
public class UserDetails extends ActionForm
public void setName(String s)
un=s;
public void setPass(String s)
pw=s;
public String getName()
return un;
public String getPass()
return pw;
String un,pw;
this is the struts-config.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans>
<form-bean name="userform" type="com.nit.struts.UserDetails"/>
</form-beans>
<action-mappings>
<action name="userform" scope="session" path="/login" type="com.nit.struts.LoginAction">
<forward name="fail" path="/login.html"/>
<forward name="admin" path="/AdminHome.jsp"/>
<forward name="user" path="/UserHome.jsp"/>
</action>
</action-mappings>
</struts-config>
this is the web.xml
<web-app>
<servlet>
<servlet-name>first</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>first</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>login.html</welcome-file>
</welcome-file-list>
</web-app>
if(name.equals("user2")&&pass.equals("pass2"))
return "user";
return null;
*this is thetype Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
com.nit.struts.LoginModel.validate(LoginModel.java:7)
com.nit.struts.LoginAction.execute(LoginAction.java:18)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -
Tomcat - HTTP Status 500 - System Unavailable. Please try again later.
HI,
I installed ORACLE XE + TOMCAT 7 + ORACLE XE on windows XP.
All seems to work under debug session but on normal session I found the following message only when I put a specific parameter on my query.
The same query with the same parameter runs in the sqldev client whitout errors
Here below the massages:
HTTP Status 500 - System Unavailable. Please try again later.
type Status report
message System Unavailable. Please try again later.
description The server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
Apache Tomcat/7.0.2
and in the log file:
2011-02-23 18:04:19 Commons Daemon procrun stdout initialized
APEX Listener version : 1.0.2.238.15.24
APEX Listener server info: Apache Tomcat/7.0.2
Using Config file:C:\Programmi\Apache Software Foundation\Tomcat 7.0\temp\apex\apex-config.xml
-- listing properties --
PropertyCheckInterval=60
ValidateConnection=true
MinLimit=1
MaxLimit=10
InitialLimit=3
AbandonedConnectionTimeout=900
MaxStatementsLimit=10
InactivityTimeout=1800
MaxConnectionReuseCount=50000
***********ERROR***********
init: # headers=46
declare nm owa.vc_arr := ?;
vl owa.vc_arr := ?;
begin
owa.init_cgi_env( ?, nm, vl );
htp.init; htp.HTBUF_LEN := 63;
? := sys_context('USERENV','SID');
end;
SID:18
CALL:
begin
f(p=>?);
commit;
end;
BINDS
p:106:3:4503262208013405:::::PAGE CALL:
declare
nlns number := 999999;
l_clob CLOB;
lines htp.htbuf_arr;
l_buff varchar2(32767);
l_clob_init boolean:= false;
l_file varchar2(5);
begin
OWA.GET_PAGE(lines, nlns);
if (nlns > 1) then
for i in 1..nlns loop
if ( length(lines(i)) > 0 ) then
if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
if (NOT l_clob_init) then
dbms_lob.createtemporary(l_clob, TRUE);
dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
l_clob_init:=true;
end if;
dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
l_buff := lines(i);
else
l_buff := l_buff || lines(i);
end if;
end if;
end loop;
end if;
if (l_clob_init) then
dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
l_buff := '';
end if;
? := l_clob;
? := l_buff;
if (wpg_docload.is_file_download) then l_file:='TRUE'; else l_file := 'FALSE'; end if; ? := l_file;
end;
get_page FAILED:ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
ORA-06512: a line 32
^^^^^^^^^^^^ERROR^^^^^^^^
ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
ORA-06512: a line 32
***********ERROR***********
init: # headers=46
declare nm owa.vc_arr := ?;
vl owa.vc_arr := ?;
begin
owa.init_cgi_env( ?, nm, vl );
htp.init; htp.HTBUF_LEN := 63;
? := sys_context('USERENV','SID');
end;
SID:18
CALL:
begin
f(p=>?);
commit;
end;
BINDS
p:106:3:3777982020408238:::::PAGE CALL:
declare
nlns number := 999999;
l_clob CLOB;
lines htp.htbuf_arr;
l_buff varchar2(32767);
l_clob_init boolean:= false;
l_file varchar2(5);
begin
OWA.GET_PAGE(lines, nlns);
if (nlns > 1) then
for i in 1..nlns loop
if ( length(lines(i)) > 0 ) then
if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
if (NOT l_clob_init) then
dbms_lob.createtemporary(l_clob, TRUE);
dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
l_clob_init:=true;
end if;
dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
l_buff := lines(i);
else
l_buff := l_buff || lines(i);
end if;
end if;
end loop;
end if;
if (l_clob_init) then
dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
l_buff := '';
end if;
? := l_clob;
? := l_buff;
if (wpg_docload.is_file_download) then l_file:='TRUE'; else l_file := 'FALSE'; end if; ? := l_file;
end;
get_page FAILED:ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
ORA-06512: a line 32
^^^^^^^^^^^^ERROR^^^^^^^^
ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
ORA-06512: a line 32
Could you kindly help me.
Thanks in advance for your help
Best RegardsHi Paolo,
which APEX version do you use?
There are only a few reasons that might lead to the behaviour you describe. These are
- configured header size for Tomcat Connector is too small
- configured character encoding for Tomcat Connector doesn't fit for APEX (you need UTF-8)
- you don't have the required version of OWA_UTIL in your XE if you upgraded to a more recent APEX release (e.g. APEX 4.0)
Have you configured the Tomcat's HTTP Connector to use the appropriate header size and character encoding?
(see {thread:id=2174509})
If you've upgraded your XEs APEX, e.g. to 4.0, you also have to update the OWA_UTIL in your XE. APEX versions from 3.0 onwards require at least 10.1.2.0.6, which is the version provided in the installation package. You may just update to that version by changing to the subdirectory owa of your APEX installation package and running
@owainst.sqlas sys (just like in the steps before).
You can check if you have the appropriate version of OWA_UTIL installed by running
select owa_util.get_version from dual;In addition you may also want to check if you performed all steps of this small [url http://www.oracle.com/technetwork/developer-tools/apex/upgrade-apex-for-xe-154969.html]HowTo for the upgrade of APEX in XE databases.
-Udo -
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
Can someone give my a hand with this problem because the unix administrator of my website don't know how to fixes.
When I try to run a servlet name SimpleServer or other servlet from my website I received the following error:
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/SimpleServlet
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:484)
root cause
java.lang.ClassFormatError: SimpleServlet (Illegal constant pool type)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1643)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:937)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1372)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:867)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:400)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:484)
Thanks in advance,
JoseHi,
ClassFormatError is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
So check whether you have properly configured servlet and whether class file is VALID and is in right place or not.
Sandesh -
Help HTTP status 500 error using tomcat 5.0.16
Hi,
I am getting the below mentioned erors using Tomcat 5.0.16 in a directory structure like this
E:\sampleapp\WEB-INF
\WEB-INF\classes
\WEB-INF\lib
\WEB-INF\sourcefile
\WEB-INF\web.xml
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Wrapper cannot find servlet class package1.structure.HelloServlet or a class it depends on
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
java.lang.Thread.run(Thread.java:534)
root cause
java.lang.ClassNotFoundException: package1.structure.HelloServlet
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1366)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
java.lang.Thread.run(Thread.java:534)
Kindly let me know how to come around it.
Any help would be appreciated.
Thanks
ASHi ,
I got struct here, can any body help me out.
I am unable to tress it our, where was the error
Any help will be appreciated.
Sanju
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/WEB-INF/struts-tml.tld" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
Apache Tomcat/5.5.9
Maybe you are looking for
-
[AS] CS3 Find -Change inserting soft return instead of hard
Can anyone help identify why this script doesn't work? i want it to replace multiple returns with a single paragraph return. It's replacing with a soft return rather than a hard return. I copied and pasted the find grep and change grep fields into th
-
Iphone 6 with iOS 8.1.1 and still wifi issues
I have Cox internet service with Netgear 2.4 router at home. Have been having issues with my 2 iphone 6 wifi staying connected, even after two updates. Very disappointed that with 8.1.1 the problem was not fixed. Wifi stays on for a few seconds to
-
Urgent : Issue with Pop to confirm
l_popup = l_window_manager->create_popup_to_confirm( text = str_table button_kind = 1 message_type = 1 close_button = 'X' window_title = 'Confirmation' window_position = if_wd_window=>co_center ). Here is my code to show pop to confirm scr
-
Hi, I have a report which modifies the contract, source list etc., if I run it in foreground it updates and download data into application server properly. but when i m running in background it is getting cancelled and it throws the following error
-
Hi, How to restrict plant or shipping point in transaction code VL10B? Please advise us.. Thanks