[ 
http://issues.apache.org/jira/browse/AXIS2-1865?page=comments#action_12458036 ] 
            
Ali Sadik Kumlali commented on AXIS2-1865:
------------------------------------------

Hi Mauricio,

I use WL 8.1 + Sun JDK 1.4.2. Although currently I don't use war distribution, 
I tried it before and got many strange exceptions. After I added 
stax-api-1.0.1.jar and wstx-asl-3.0.1.jar to the beginning of system classpath 
(CLASSPATH variable in startWebLogic.cmd/startWebLogic.sh) everyhing went OK. 
Actually that time I wasn't aware of <prefer-web-inf-classes> [1] to change the 
order of classloading. And that would probably solved my problem.

I don't know whether your problem is related with this. Just give it a try. 
Also the same error is listed on dev2dev[2].

Regards,

Ali Sadik Kumlali

[1] 
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/conf/weblogic.xml?view=markup
[2] http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=81&threadID=38415&tstart=0



> 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]

Reply via email to