axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Helfman <jhelf...@e-e.com>
Subject freebsd binary distribution troubles, axis2 1.6.1
Date Wed, 30 Nov 2011 23:32:53 GMT
Hi,

Firstly, my apologies for cross-posting on my first post, but I believe this
really touches both lists as far as the issues I am running into.

I am the freebsd maintainer for the axis2 port. The port as it is now is a
war distribution.

The needs of our company though required using the binary installation, and
I need to update the port and have it working.

Here is where I am currently at.
I have updated the port to use the binary distribution but I can't run the default service.
(ie. http://localhost:8080/axis2)

I install all of the libraries (jars) under
/usr/local/share/java/classes/axis2 and add this to the classpath for my
application server (tomcat5.5)

Here is what my start command looks like:
/usr/local/bin/java -Djava.endorsed.dirs= -classpath /usr/local/tomcat5.5/bin/bootstrap.jar:/usr/local/tomcat5.5/bin/commons-logging-api.jar:/usr/local/share/java/classes/axis2
-Dcatalina.base=/usr/local/tomcat5.5 -Dcatalina.home=/usr/local/tomcat5.5 -Djava.io.tmpdir=/usr/local/tomcat5.5/temp
org.apache.catalina.startup.Bootstrap

Attached is listing of the file installation locations:

In addition to these being installed, a non-sampled suffix is installed, if one doesn't already
exist.
/usr/local/tomcat5.5/conf/axis2.policy.sample
/usr/local/tomcat5.5/conf/axis2.xml.sample
/usr/local/tomcat5.5/conf/commons-logging.properties.sample
/usr/local/tomcat5.5/conf/log4j.properties.sample

When I start tomcat with no modifications, here is the error I receive:
SEVERE: Error deploying web application directory axis2
org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger'
cannot be found or is not useable.
         at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:704)
         at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4159)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:980)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:943)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

If I turn off Log4JLogger in /usr/local/tomcat5.5/webapps/axis2/WEB-INF/classes/commons-logging.properties,
and use any other type of logging service, it will startup.
However, then get other errors:

SEVERE: Exception Processing ErrorPage[errorCode=500, location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: Exception in JSP: /axis2-web/Error/error500.jsp:24

21: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22: <html>
23:   <head>
24:     <jsp:include page="../include/httpbase.jsp"/>
25:     <title>Axis2 :: Internal server error</title>
26:     <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
27:     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>


Stacktrace:
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
         at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
         at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
         at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:229)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:843)
         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:679)
         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1303)
         at java.lang.Thread.run(Thread.java:679)

Any help would be appreciated!
Thanks,
Jason

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5

Mime
View raw message