Unfortunately the ability to compile code isn't standardized in the JVM. As you can see its a call to a sun.* library. I think this is probably a bug in the JRocket implementation of that library.
However, it looks to me like JRocket does at least implement com.sun.tools.javac, so maybe we could work our code around it. Can you please raise a JIRA? Paul On 12/12/06, Mauricio Wodarski da Silva <[EMAIL PROTECTED]> wrote:
Exactly Paul! WebLogic JRockit(TM) 1.4.2_08. Is this a problem? Mauricio 2006/12/12, Paul Fremantle <[EMAIL PROTECTED]>: > Mauricio > > Which JVM are you on? I'm guessing JRocket? > > Paul > > On 12/12/06, Mauricio Wodarski da Silva <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm a new Axis2 user and I'm already needing help here. :) > > > > I have deployed axis2.war, available at product's website, on Weblogic > > 8.1(sp5). It seems the product is working fine but we are facing some > > problems to compile JSPs that come with Axis2. > > > > 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 > > > > > > By the way, I'm using Axis2 1.1. > > > > I appreciate any help. > > > > Mauricio > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Paul Fremantle > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair > > http://bloglines.com/blog/paulfremantle > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
