cant able to see preview - log4j properties error.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2007 09:56 AM
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
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
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 07:23 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 12:20 AM
Hi,
i tried in alfresco2.1 as you said,still iam getting the same error.
how to solve this???
Thanks
kiran
i tried in alfresco2.1 as you said,still iam getting the same error.
how to solve this???
Thanks
kiran

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 12:45 PM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 02:38 PM
I am getting the same error
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??
java.io.FileNotFoundException: V:\econsumer–admin\VERSION\v-1\DATA\www\avm_webapps\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??
