[ http://issues.apache.org/jira/browse/AXIS2-1865?page=comments#action_12457811 ] Mauricio Wodarski da Silva commented on AXIS2-1865: ---------------------------------------------------
Maybe this can help: http://marc.theaimsgroup.com/?l=axis-user&m=116594062708643&w=2 > Axis2 JSPs don't compile with Weblogic 8.1 + JRockit 1.4.2 > ---------------------------------------------------------- > > Key: AXIS2-1865 > URL: http://issues.apache.org/jira/browse/AXIS2-1865 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Environment: Weblogic 8.1sp5 > JRockit(TM) 1.4.2_08 > Reporter: Mauricio Wodarski da Silva > > I have deployed axis2.war, available at product's website. It seems the > product is working fine but we are facing some problems to compile JSPs that > come with Axis2 1.1. > Here the StackTrace goes: > java.lang.NoSuchMethodException: com.sun.tools.javac.Main does not > define 'public static int compile(String[], java.io.PrintWriter)' > at > weblogic.utils.compiler.CompilerInvoker.invokeCompile(Ljava/lang/Class;Ljava/util/List;)Z(CompilerInvoker.java:286) > at > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Ljava/util/List;)V(CompilerInvoker.java:419) > at > weblogic.utils.compiler.CompilerInvoker.compile(Ljava/util/List;)V(CompilerInvoker.java:328) > at > weblogic.utils.compiler.CompilerInvoker.compile([Ljava/lang/String;)V(CompilerInvoker.java:336) > at > weblogic.utils.compiler.CompilerInvoker.compile()V(CompilerInvoker.java:321) > at > weblogic.servlet.jsp.JspStub.compilePage(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:451) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;Z)V(JspStub.java:246) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:196) > at > weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic/servlet/internal/RequestCallback;)Ljavax/servlet/Servlet;(ServletStubImpl.java:598) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:406) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:526) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892) > at > weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766) > at > weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224) > at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183) > at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown > Source) > <12/12/2006 11h51min14s GMT-02:00> <Error> <HTTP> <BEA-101017> > <[ServletContext(id=79479237,name=axis2,context-path=/axis2)] Root > cause of ServletException. > weblogic.servlet.jsp.CompilationException: Compilation of > /nfs/beades/user_projects/domains/dom_apm_004/./admserver17074/.wlnotdelete/extract/admserver17074__appsdir_axis2_dir_axis2/jsp_servlet/_axis2_45_web/__index.java > failed. > at > weblogic.servlet.jsp.JspStub.compilePage(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:478) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;Z)V(JspStub.java:246) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:196) > at > weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic/servlet/internal/RequestCallback;)Ljavax/servlet/Servlet;(ServletStubImpl.java:598) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:406) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:526) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892) > at > weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766) > at > weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224) > at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183) > at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown > Source) > Caused by: java.io.IOException: Compilation error > java.lang.NoSuchMethodException: com.sun.tools.javac.Main does not > define 'public static int compile(String[], java.io.PrintWriter)' > at > weblogic.utils.compiler.CompilerInvoker.invokeCompile(Ljava/lang/Class;Ljava/util/List;)Z(CompilerInvoker.java:286) > at > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Ljava/util/List;)V(CompilerInvoker.java:419) > at > weblogic.utils.compiler.CompilerInvoker.compile(Ljava/util/List;)V(CompilerInvoker.java:328) > at > weblogic.utils.compiler.CompilerInvoker.compile([Ljava/lang/String;)V(CompilerInvoker.java:336) > at > weblogic.utils.compiler.CompilerInvoker.compile()V(CompilerInvoker.java:321) > at > weblogic.servlet.jsp.JspStub.compilePage(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:451) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;Z)V(JspStub.java:246) > at > weblogic.servlet.jsp.JspStub.prepareServlet(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:196) > at > weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic/servlet/internal/RequestCallback;)Ljavax/servlet/Servlet;(ServletStubImpl.java:598) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:406) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:526) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892) > at > weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766) > at > weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224) > at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183) > at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown > Source) > at > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Ljava/util/List;)V(CompilerInvoker.java:422) > at > weblogic.utils.compiler.CompilerInvoker.compile(Ljava/util/List;)V(CompilerInvoker.java:328) > at > weblogic.utils.compiler.CompilerInvoker.compile([Ljava/lang/String;)V(CompilerInvoker.java:336) > at > weblogic.utils.compiler.CompilerInvoker.compile()V(CompilerInvoker.java:321) > at > weblogic.servlet.jsp.JspStub.compilePage(Lweblogic/servlet/internal/RequestCallback;)V(JspStub.java:451) > ... 14 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
