AnsweredAssumed Answered

Any problem with my 'tomcat/conf/Catalina/localhost/alfresco.xml '

Question asked by bisana on Apr 15, 2013
Latest reply on Apr 15, 2013 by bisana
While trying to install Alfresco Buisness reporing tool, I had created "tomcat/conf/Catalina/localhost/alfresco.xml " with the following details


<Resource defaultTransactionIsolation="-1" defaultAutoCommit="true"  maxActive="10" maxIdle="3" initialSize="1" username="root" password="mypass"  url="jdbc:mysql://localhost:3306/alfrescoreporting"  driverClassName="org.gjt.mm.mysql.Driver"  type="javax.sql.DataSource" auth="Container" name="jdbc/alfrescoReporting"/>



I am getting a error message in catalina.out, which states that

 
SEVERE: Error deploying configuration descriptor /opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml
java.lang.NullPointerException
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:618)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)



After deploying the amp file, and staring alfresco , I was not able to find "alfresco.xml" file  in "alfresco/tomcat/conf/Catalina/localhost" . I created it

I am not sure the steps which I am following is correct, Please do advice
thanks
Joseph John

Outcomes