Is AppServer up to date? Now, the default sample is example, not HelloWorld
webapp.

On Sun, Apr 17, 2011 at 12:06 AM, Isuru Suriarachchi <[email protected]> wrote:

> Hi Azeez,
>
> I just built carbon core and then Appserver and deployed the test webapp.
> But when I click on the "Go To URL" link, it gives me a 500 with the
> following exception on the console. But my JAVA_HOME is set to JDK. Any idea
> of what has gone wrong?
>
> Apr 16, 2011 11:59:26 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet [jsp] in context with path
> [/wso2appserver-samples-hello-webapp-1.0] threw exception [Unable to compile
> class for JSP] with root cause
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "/home/isuru/software/jdk1.6.0_13/jre"
>  at
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:108)
> at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:990)
>  at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
> at
> org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:234)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
> at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
>  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:242)
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
> at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:391)
>  at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1531)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>  at java.lang.Thread.run(Thread.java:619)
>
> Thanks,
> ~Isuru
>
>
> On Fri, Apr 15, 2011 at 7:50 PM, Isuru Suriarachchi <[email protected]>wrote:
>
>>
>>
>> On Fri, Apr 15, 2011 at 12:08 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> Isuru,
>>> Please confirm that your test WARs which pick dependencies from webapp
>>> parent classloader as well as webapp classloader work. I have checked these,
>>> and it works, however it is better to double check.
>>>
>>
>> Sure. Will build the trunk, test and let you know..
>>
>> Thanks,
>> ~Isuru
>>
>>
>>>
>>> Azeez
>>>
>>>
>>> On Fri, Apr 15, 2011 at 12:06 PM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> Also review my commit in r91826
>>>>
>>>>
>>>> On Fri, Apr 15, 2011 at 12:03 PM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>> OK, I have committed the product changes. Product teams please take a
>>>>> look.
>>>>>
>>>>> Azeez
>>>>>
>>>>>
>>>>> On Fri, Apr 15, 2011 at 11:53 AM, Afkham Azeez <[email protected]> wrote:
>>>>>
>>>>>> Don't commit now. I have local modifications.
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 15, 2011 at 11:49 AM, Supun Kamburugamuva <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Fri, Apr 15, 2011 at 11:48 AM, Afkham Azeez <[email protected]>
>>>>>>> wrote:
>>>>>>> > CARBON_HOME/lib/core/WEB-INF/classes
>>>>>>> >
>>>>>>> > On Fri, Apr 15, 2011 at 11:39 AM, Supun Kamburugamuva <
>>>>>>> [email protected]>
>>>>>>> > wrote:
>>>>>>> >>
>>>>>>> >> Where should we place these configuration files?
>>>>>>> >>
>>>>>>> >> Thanks,
>>>>>>> >> Supun..
>>>>>>> >>
>>>>>>> >> On Fri, Apr 15, 2011 at 11:36 AM, Afkham Azeez <[email protected]>
>>>>>>> wrote:
>>>>>>> >> > ESB assembly has the following obsolete entries
>>>>>>> >> >  <file>
>>>>>>> >> >             <source>src/main/conf/synapse.properties</source>
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> >
>>>>>>>  
>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/webapps/ROOT/WEB-INF/classes</outputDirectory>
>>>>>>> >> >             <destName>synapse.properties</destName>
>>>>>>> >> >             <filtered>true</filtered>
>>>>>>> >> >         </file>
>>>>>>> >> >         <file>
>>>>>>> >> >
>>>>>>>  <source>src/main/conf/datasources.properties</source>
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> >
>>>>>>>  
>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/webapps/ROOT/WEB-INF/classes</outputDirectory>
>>>>>>> >> >             <destName>datasources.properties</destName>
>>>>>>> >> >             <filtered>true</filtered>
>>>>>>> >> >         </file>
>>>>>>> >> >         <file>
>>>>>>> >> >
>>>>>>>  <source>src/main/conf/cipher-text.properties</source>
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> >
>>>>>>>  
>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/webapps/ROOT/WEB-INF/classes</outputDirectory>
>>>>>>> >> >             <destName>cipher-text.properties</destName>
>>>>>>> >> >             <filtered>true</filtered>
>>>>>>> >> >         </file>
>>>>>>> >> >         <file>
>>>>>>> >> >             <source>src/main/conf/nhttp.properties</source>
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> >
>>>>>>>  
>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/webapps/ROOT/WEB-INF/classes</outputDirectory>
>>>>>>> >> >             <destName>nhttp.properties</destName>
>>>>>>> >> >             <filtered>true</filtered>
>>>>>>> >> >         </file>
>>>>>>> >> >
>>>>>>> >> > On Fri, Apr 15, 2011 at 11:27 AM, Afkham Azeez <[email protected]>
>>>>>>> wrote:
>>>>>>> >> >>
>>>>>>> >> >> Product teams,
>>>>>>> >> >> Please note $subject.
>>>>>>> >> >> We were doing a wrong thing by
>>>>>>> adding CARBON_HOME/lib/core/WEB-INF/lib
>>>>>>> >> >>  to
>>>>>>> >> >> the classpath, which makes these jars get loaded from the
>>>>>>> system
>>>>>>> >> >> classloader
>>>>>>> >> >> as well as the Carbon webapp's WebappClassloader. Now those
>>>>>>> jars have
>>>>>>> >> >> been
>>>>>>> >> >> moved to CARBON_HOME/lib/api, and those jars get loaded from
>>>>>>> the parent
>>>>>>> >> >> of
>>>>>>> >> >> the webapp classloader. The system classloader loads only the
>>>>>>> >> >> bootstrap.jar.
>>>>>>> >> >> Please check the scripts in your products. I have fixed many of
>>>>>>> those.
>>>>>>> >> >> I
>>>>>>> >> >> noticed the following in BPS:
>>>>>>> >> >>
>>>>>>> >> >>
>>>>>>> >> >>
>>>>>>> ./bps/modules/samples/product/sample-utils/src/main/scripts/axis2server.sh:for
>>>>>>> >> >> f in "$AXIS2_HOME"/../../lib/core/WEB-INF/lib/*.jar
>>>>>>> >> >> Please fix these as appropriate.
>>>>>>> >> >>
>>>>>>> >> >> --
>>>>>>> >> >> Afkham Azeez
>>>>>>> >> >> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>>> >> >> http://wso2.com,
>>>>>>> >> >>
>>>>>>> >> >> Member; Apache Software Foundation; http://www.apache.org/
>>>>>>> >> >> email: [email protected] cell: +94 77 3320919
>>>>>>> >> >> blog: http://blog.afkham.org
>>>>>>> >> >> twitter: http://twitter.com/afkham_azeez
>>>>>>> >> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>>>> >> >>
>>>>>>> >> >> Lean . Enterprise . Middleware
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >> > --
>>>>>>> >> > Afkham Azeez
>>>>>>> >> > Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>>> http://wso2.com,
>>>>>>> >> >
>>>>>>> >> > Member; Apache Software Foundation; http://www.apache.org/
>>>>>>> >> > email: [email protected] cell: +94 77 3320919
>>>>>>> >> > blog: http://blog.afkham.org
>>>>>>> >> > twitter: http://twitter.com/afkham_azeez
>>>>>>> >> > linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>>>> >> >
>>>>>>> >> > Lean . Enterprise . Middleware
>>>>>>> >> >
>>>>>>> >> > _______________________________________________
>>>>>>> >> > Carbon-dev mailing list
>>>>>>> >> > [email protected]
>>>>>>> >> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>> >> >
>>>>>>> >> >
>>>>>>> >>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> --
>>>>>>> >> Supun Kamburugamuva
>>>>>>> >> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
>>>>>>> >> Member, Apache Software Foundation; http://www.apache.org
>>>>>>> >> WSO2 Inc.;  http://wso2.org
>>>>>>> >> E-mail: [email protected];  Mobile: +94 77 431 3585
>>>>>>> >> Blog: http://supunk.blogspot.com
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > --
>>>>>>> > Afkham Azeez
>>>>>>> > Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>>> http://wso2.com,
>>>>>>> >
>>>>>>> > Member; Apache Software Foundation; http://www.apache.org/
>>>>>>> > email: [email protected] cell: +94 77 3320919
>>>>>>> > blog: http://blog.afkham.org
>>>>>>> > twitter: http://twitter.com/afkham_azeez
>>>>>>> > linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>>>> >
>>>>>>> > Lean . Enterprise . Middleware
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Supun Kamburugamuva
>>>>>>> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
>>>>>>> Member, Apache Software Foundation; http://www.apache.org
>>>>>>> WSO2 Inc.;  http://wso2.org
>>>>>>> E-mail: [email protected];  Mobile: +94 77 431 3585
>>>>>>> Blog: http://supunk.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>> http://wso2.com,
>>>>>> *
>>>>>> *
>>>>>> *Member; Apache Software Foundation; 
>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>> *
>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>> twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> *
>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>> *
>>>>>> *
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> http://wso2.com,
>>>>> *
>>>>> *
>>>>> *Member; Apache Software Foundation; 
>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>> *
>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>>> ,
>>>> *
>>>> *
>>>> *Member; Apache Software Foundation; 
>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>> *
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead & Product Manager, WSO2 Application Server
>>
>> WSO2 Inc. http://wso2.com
>> email : [email protected]
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Application Server
> WSO2 Inc. http://wso2.com
> email : [email protected]
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to