cancel
Showing results for 
Search instead for 
Did you mean: 

cant able to see preview - log4j properties error.

kiran1
Champ in-the-making
Champ in-the-making
Hi

i am using alfresco community 2.0,created a webproject and i did a bulk import of war file(project using appfuse framework) , but i cannot able to access/see preview of those jsp files… im getting errors like this….

AVMWebappLoader absoluteClassesPath:  v:\demo\VERSION\v-1\DATA\www\avm_webapps\ROOT\WEB-INF\classes
AVMWebappLoader absoluteClassesPath not null, so no need to make copy
log4j:ERROR Could not read configuration file from URL [file:/V:/demo/VERSION/v-1/DATA/www/avm_webapps/ROOT/WEB-

INF/classes/log4
j.properties].
java.io.FileNotFoundException: V:\demo\VERSION\v-1\DATA\www\avm_webapps\ROOT\WEB-INF\classes\log4j.properties (The system

cannot
find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1007)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:424)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at org.apache.log4j.Logger.getLogger(Logger.java:94)
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)

can anyone tell me where i am wrong?

Thanks in advance
kiran
4 REPLIES 4

kvc
Champ in-the-making
Champ in-the-making
Kiran:


Can you download and reproduce this error on 2.1.0 Community RC1 (our latest updated Community release?).  If this is an issue in RC1, we will look into it.  If you're a customer on subscription and need this looked into and potentially fixed as a patch on 2.0.1E, please open a support case.


Kevin

kiran1
Champ in-the-making
Champ in-the-making
Hi,

i tried in alfresco2.1 as you said,still iam getting the same error.
how to solve this???

Thanks
kiran

jcox
Champ in-the-making
Champ in-the-making
First, confirm that it actually is in your war file via

    jar tvf  your_warfile_name.war

Next, try mounting the AVM via CIFS and  then within
a shell see if the file is there.

Another thing to check is permissions.

vijay_alfresco
Champ in-the-making
Champ in-the-making
I am getting the same error

java.io.FileNotFoundException: V:\econsumer–admin\VERSION\v-1\DATA\www\avm_weba
pps\ROOT\WEB-INF\classes\log4j.xml (The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)

I am using Alfresco 2.1, tomcat, Mysql server. I checked my war file and it contains WEB-INF\classes\log4j.xml.

Please let me know what should i do??