I tried configuring Roller on the Resin/Apache environments. I am able
to access the Static files but when I am trying to access the index.jsp
under /webapp/roller/ , I am getting the following 500 exception. Please
help.
500 Servlet Exception
java.lang.NullPointerException
at
com.caucho.xml.QAttributedNode.getAttributeNodeNS(QAttributedNode.java:1
46)
at
com.opensymphony.xwork2.util.location.LocationAttributes.getLocation(Loc
ationAttributes.java:170)
at
com.opensymphony.xwork2.util.location.LocationAttributes.getLocation(Loc
ationAttributes.java:183)
at
com.opensymphony.xwork2.util.location.LocationUtils.getLocation(Location
Utils.java:253)
at
com.opensymphony.xwork2.util.location.LocationUtils.getLocation(Location
Utils.java:202)
at
com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:91)
at
com.opensymphony.xwork2.config.ConfigurationException.<init>(Configurati
onException.java:74)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.regist
er(XmlConfigurationProvider.java:208)
at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Struts
XmlConfigurationProvider.java:101)
at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultC
onfiguration.java:131)
at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Con
figurationManager.java:52)
at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispa
tcher.java:395)
at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.jav
a:201)
at
com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java
:127)
at
com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.
java:169)
at
com.caucho.server.webapp.Application.buildInvocation(Application.java:17
22)
at
com.caucho.server.webapp.ApplicationContainer.buildInvocation(Applicatio
nContainer.java:666)
at com.caucho.server.host.Host.buildInvocation(Host.java:421)
at
com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:
322)
at
com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java
:641)
at
com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer
.java:198)
at
com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
at java.lang.Thread.run(Thread.java:595)
-----Original Message-----
From: Dave [mailto:[email protected]]
Sent: Tuesday, June 16, 2009 8:19 PM
To: [email protected]
Subject: Re: Roller on Resin environment
I'm not aware of any docs new than these ancient scrolls:
http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideResin
http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide098
So... your on your own unless fellow Resin fans want to speak up now.
Read over the Roller Installation Guide and do the same things in Resin
that we do in Tomcat:
- Create a roller-custom.properties file, put it in your app server's
classpath
- Setup a JNDI Datasource for Roller, or specify JDBC params in the
properties file
- Setup a JNDI Mail Session for Roller, if you want email support
- Deploy Roller's webapp directory to your app server
You'd have to refer to Resins docs to figure out the specifics of those
steps.
- Dave
On Tue, Jun 16, 2009 at 3:38 PM, Neralla,
Abhishek<[email protected]> wrote:
> Hello,
>
> I am trying to install Roller 4.0.1 on a Solaris OS machine. We are
> using the Apache webserver and Resin app server. I downloaded the code
> from the Downloads page. I am unable to figure out how to start the
> Roller app. Please help.
>
> Is there any documentation for Installing on a Resin server?
>
> Thanks a lot.
>
> - Abhishek.
>