[opencms-dev] Opencms on Oracle 9iAS ?

Renato Degli Esposti r.degliesposti at realname.it
Tue Jul 15 20:27:01 CEST 2003


On Tue, 2003-07-15 at 03:17, Ian Spence wrote:
> Has anyone been able to get Opencms working on Oracle
> 9iAS (App Server) ? 
> 
> I have expanded the war file into the appropriate
> directory.  When I go to run the ocsetup, I get the
> following error.  I am running on NT4, JDK1.4.0.
> 
> (Actually, I am trying to run it on OC4J which is the
> cut-down 9iAS and is delivered with JDeveloper and
> contains the bare essentials for running J2EE
> components.)
> 
> regards,
> Ian Spence
> 
> 500 Internal Server Error
> OracleJSP: oracle.jsp.provider.JspCompileException: 
> Errors
> compiling:C:\jdev9031\j2ee\home\application-deployments\opencms\opencms\persistence\_pages\_ocsetup\_index.java
> error: Invalid class file format in
> c:\j2sdk1.4.0\jre\lib\rt.jar(java/lang/Object.class). 
> The major.minor version '48.0' is too recent for this
> tool to understand.
> C:\jdev9031\j2ee\home\application-deployments\opencms\opencms\persistence\_pages\_ocsetup\_index.java:0:
> Class java.lang.Object not found in class
> com.orionserver.http.OrionHttpJspPage.
> package _ocsetup;
> ^
> 2 errors
> 
> 
Ian,
I'm trying the same thing: OpenCms 5 on oc4j with Jdeveloper on linux.
Your problem should be caused by an old tools.jar in $JDEV_HOME/jdk/lib.
I replaced $JDEV_HOME/jdk/lib/tools.jar with the one in
$JAVA_HOME/lib/tools.jar and it solved the problem.

Then I was able to run ocsetup without problems, but when I run
http://localhost:8988/opencms/opencms I get this error:
Request
URI:/opencms/opencms/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp

Exception:
java.lang.ClassNotFoundException:
_jsp._online._system._modules._org._opencms._welcome._jsptemplates._welcome_2e_jsp
        at
oracle.jsp.app.JspClassLoader.loadClass(JspClassLoader.java:697)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
oracle.jsp.runtimev2.JspPageInfo.getInstFacade(JspPageInfo.java:160)
        at
oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:433)
        at
oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:510)
        at
oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)
        at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
        at
com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
        at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
        at
com.opencms.flex.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:370)
        at
com.opencms.flex.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:262)
        at _jsp._online._index_2e_jsp._jspService(index.jsp.jsp:3)
        [SRC:/jsp/online/index.jsp.jsp]
        at
com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
        at
oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
        at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
        at
com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
        at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
        at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
        at
com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
        at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
        at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
        at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
        at java.lang.Thread.run(Thread.java:534)

I'm further investigating it , and looking for help or suggestions. 

Please let me know if you progress.

Renato



Questa email e' stata controllata dal RAV AntiVirus.



More information about the opencms-dev mailing list