You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Martin Gainty <mg...@hotmail.com> on 2007/06/30 22:59:20 UTC
Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
known bug
add
"$TOMCAT_HOME\common\lib\jsp-api.jar"
to classpath
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/%3C003401c77b2b$35922990$0901a8c0@UNNATENET%3E
HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Saturday, June 30, 2007 4:02 PM
Subject: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
New to axis ...
Trying to access http://127.0.0.1:8080/axis2-web/ while running Tomcat6.0.1.3. I have placed the Axis2 war in the tomcat webapps as specified. The tomcat Manager page is fine. Any ideas?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. org.apache.axis2.Constants resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. org.apache.axis2.context.ConfigurationContext resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. org.apache.axis2.description.Parameter resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. org.apache.axis2.transport.http.AxisServlet resolves to a package
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org
Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Posted by Willard <jw...@sacoriver.net>.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Posted by Martin Gainty <mg...@hotmail.com>.
Hi Jon-
1st) do you'll have jsp-api.jar if so which version?
my jsp-api.jar has a date timestamp of 04/14/2006 and is 50,501 and is located in %CATALINA_HOME%\common\lib
2nd) please provide the wsdl
Thanks
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Sunday, July 01, 2007 12:29 PM
Subject: Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Hi Martin,
Sorry for my confusion but jetspeed appears to be a portal ... I am trying to use Axis / WebService with Tomcat 6. Can you clarify for me? I apologize for being such a newbie ... Alos, jetspeed says it is compatible with
a.. Tomcat 5.0.x
b.. Tomcat 5.5.x
but I have Tomcat6
Best,
Jon
Martin Gainty wrote:
Good Evening Willard
please verify your jsp-api.jar is fairly recent (I was able to d/l from jetspeed2.1 site)
http://portals.apache.org/jetspeed-2/download.html
04/14/2006 02:09 PM 50,501 jsp-api.jar
If you can attach the WSDL I'll try to re-produce that error here...
HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Saturday, June 30, 2007 6:15 PM
Subject: Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Thanks Martin,
I have tomcat 6.0.1.3 and I do not have a common/lib, just a /lib under tomcat. I added my C:\Tomcat6\lib\jsp-api.jar to my classpath, rebooted, verified and it still does not work. Do you know if tomcat6.0 uses the Windows env var for CLASSPATH? I rebooted because tomcat is running as a service and I know that there are issues with SCM picking up env changes.
Any other ideas?
Best,
Jon
Martin Gainty wrote:
known bug
add
"$TOMCAT_HOME\common\lib\jsp-api.jar"
to classpath
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/%3C003401c77b2b$35922990$0901a8c0@UNNATENET%3E
HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Saturday, June 30, 2007 4:02 PM
Subject: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
New to axis ...
Trying to access http://127.0.0.1:8080/axis2-web/ while running Tomcat6.0.1.3. I have placed the Axis2 war in the tomcat webapps as specified. The tomcat Manager page is fine. Any ideas?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. org.apache.axis2.Constants resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. org.apache.axis2.context.ConfigurationContext resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. org.apache.axis2.description.Parameter resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. org.apache.axis2.transport.http.AxisServlet resolves to a package
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org
Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Posted by Martin Gainty <mg...@hotmail.com>.
Good Evening Willard
please verify your jsp-api.jar is fairly recent (I was able to d/l from jetspeed2.1 site)
http://portals.apache.org/jetspeed-2/download.html
04/14/2006 02:09 PM 50,501 jsp-api.jar
If you can attach the WSDL I'll try to re-produce that error here...
HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Saturday, June 30, 2007 6:15 PM
Subject: Re: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
Thanks Martin,
I have tomcat 6.0.1.3 and I do not have a common/lib, just a /lib under tomcat. I added my C:\Tomcat6\lib\jsp-api.jar to my classpath, rebooted, verified and it still does not work. Do you know if tomcat6.0 uses the Windows env var for CLASSPATH? I rebooted because tomcat is running as a service and I know that there are issues with SCM picking up env changes.
Any other ideas?
Best,
Jon
Martin Gainty wrote:
known bug
add
"$TOMCAT_HOME\common\lib\jsp-api.jar"
to classpath
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/%3C003401c77b2b$35922990$0901a8c0@UNNATENET%3E
HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: Willard
To: axis-user@ws.apache.org
Sent: Saturday, June 30, 2007 4:02 PM
Subject: HTTP Status 500 from http://127.0.0.1:8080/axis2-web/
New to axis ...
Trying to access http://127.0.0.1:8080/axis2-web/ while running Tomcat6.0.1.3. I have placed the Axis2 war in the tomcat webapps as specified. The tomcat Manager page is fine. Any ideas?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. org.apache.axis2.Constants resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. org.apache.axis2.context.ConfigurationContext resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. org.apache.axis2.description.Parameter resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. org.apache.axis2.transport.http.AxisServlet resolves to a package
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
An error occurred at line: 12 in the jsp file: /include/httpbase.jsp
ConfigurationContext cannot be resolved to a type
9:
10: public void jspInit() {
11: ServletContext context = this.getServletConfig().getServletContext();
12: ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
13: Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
14: if (parameter != null) {
15: frontendHostUrl = (String) parameter.getValue();
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org