You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Felipe Palma Dias <pa...@yahoo.com.br> on 2004/02/24 19:48:40 UTC

Apache SOAP and Oracle OC4J 9iAs

Hi.
 
Sorry, but my English is not good.
 
I am trying to use Apache SOAP with Oracle OC4J 9iAs. When I run some JSP page from Apache SOAP Admin, for example http://localhost:8080/soap/admin/list.jsp, the follow error is displayed:

500 Internal Server ErrorOracleJSP: oracle.jsp.provider.JspCompileException: Errors compiling:/u01/oracle/OAI/j2ee/OC4J_OAI/application-deployments/APACHE_SOAP/APACHE_SOAP/persistence/_pages/_admin/_list.javaLine #Error
59
[jsp src:line #:11]
Method getServiceManagerFromContext(javax.servlet.ServletContext, java.lang.String) not found in class org.apache.soap.server.http.ServerHTTPUtils. org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(application, configFilename); 


-------------------------------------------------------
Felipe F. Palma Dias
http://geocities.yahoo.com.br/palmadias/


---------------------------------
Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora!

Re: Apache SOAP and Oracle OC4J 9iAs

Posted by Felipe Palma Dias <pa...@yahoo.com.br>.
Thanks.
 
I found a soap.jar file in my enviroment. I removed, and now the Apache SOAP is running.
 
Thanks.

Scott Nichol <sn...@scottnichol.com> wrote:
The problem is likely that 9iAS is loading classes from the wrong place.

You should deploy Apache SOAP as as webapp. The distribution includes soap.war. I do not know how to deploy this in 9iAS, but I am sure you do.

You should also check for soap.jar and/or Apache SOAP classes such as ServerHTTPUtils.class other places on your system where 9iAS might find them. With other J2EE containers like Tomcat, developers run into problems when soap.jar is in a Tomcat shared library directory or the J2SE extension directory ($JAVA_HOME/jre/lib/ext or $JAVA_HOME/lib/ext). Apache SOAP is not a Java extension and should not be in those directories.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Felipe Palma Dias" 

To: 
Sent: Tuesday, February 24, 2004 1:48 PM
Subject: Apache SOAP and Oracle OC4J 9iAs


Hi.

Sorry, but my English is not good.

I am trying to use Apache SOAP with Oracle OC4J 9iAs. When I run some JSP page from Apache SOAP Admin, for example http://localhost:8080/soap/admin/list.jsp, the follow error is displayed:

500 Internal Server ErrorOracleJSP: oracle.jsp.provider.JspCompileException: Errors compiling:/u01/oracle/OAI/j2ee/OC4J_OAI/application-deployments/APACHE_SOAP/APACHE_SOAP/persistence/_pages/_admin/_list.javaLine #Error
59
[jsp src:line #:11]
Method getServiceManagerFromContext(javax.servlet.ServletContext, java.lang.String) not found in class org.apache.soap.server.http.ServerHTTPUtils. org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(application, configFilename); 


-------------------------------------------------------
Felipe F. Palma Dias
http://geocities.yahoo.com.br/palmadias/


---------------------------------
Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora!

-------------------------------------------------------
Felipe F. Palma Dias
http://geocities.yahoo.com.br/palmadias/


---------------------------------
Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora!

Re: Apache SOAP and Oracle OC4J 9iAs

Posted by Scott Nichol <sn...@scottnichol.com>.
The problem is likely that 9iAS is loading classes from the wrong place.

You should deploy Apache SOAP as as webapp.  The distribution includes soap.war.  I do not know how to deploy this in 9iAS, but I am sure you do.

You should also check for soap.jar and/or Apache SOAP classes such as ServerHTTPUtils.class other places on your system where 9iAS might find them.  With other J2EE containers like Tomcat, developers run into problems when soap.jar is in a Tomcat shared library directory or the J2SE extension directory ($JAVA_HOME/jre/lib/ext or $JAVA_HOME/lib/ext).  Apache SOAP is not a Java extension and should not be in those directories.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Felipe Palma Dias" <pa...@yahoo.com.br>
To: <so...@ws.apache.org>
Sent: Tuesday, February 24, 2004 1:48 PM
Subject: Apache SOAP and Oracle OC4J 9iAs


Hi.
 
Sorry, but my English is not good.
 
I am trying to use Apache SOAP with Oracle OC4J 9iAs. When I run some JSP page from Apache SOAP Admin, for example http://localhost:8080/soap/admin/list.jsp, the follow error is displayed:

500 Internal Server ErrorOracleJSP: oracle.jsp.provider.JspCompileException: Errors compiling:/u01/oracle/OAI/j2ee/OC4J_OAI/application-deployments/APACHE_SOAP/APACHE_SOAP/persistence/_pages/_admin/_list.javaLine #Error
59
[jsp src:line #:11]
Method getServiceManagerFromContext(javax.servlet.ServletContext, java.lang.String) not found in class org.apache.soap.server.http.ServerHTTPUtils. org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(application, configFilename); 


-------------------------------------------------------
Felipe F. Palma Dias
http://geocities.yahoo.com.br/palmadias/


---------------------------------
Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora!