cancel
Showing results for 
Search instead for 
Did you mean: 

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

bisana
Champ on-the-rise
Champ on-the-rise
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
2 REPLIES 2

abarisone
Star Contributor
Star Contributor
Hi,
according to this https://forums.alfresco.com/forum/developer-discussions/add-ons/buisness-reporting-reporting-folder-... this issue seems to be resolved…
Which was the problem?

Regards,
Andrea

bisana
Champ on-the-rise
Champ on-the-rise
Now I know the answer
By default the file is not there in the location. You need to create it there, and make sure u have the tags open and closed properly