cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run Clearwell Utility

Deepak_Jindal
Level 4

Hi,

 

I am trying to run Clearwell utility and choose Stop all Clearwell Services but when I hit Enter it gives me error :

 

Stopping All Clearwell Services...

======== target = stop-services
Buildfile: build.xml
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\ant_output.log (Access is denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:192)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java
:207)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:3
07)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
ava:172)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
ava:104)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
tor.java:809)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
tor.java:735)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC
onfigurator.java:615)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:502)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:547)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon
verter.java:483)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
        at org.apache.log4j.Logger.getLogger(Logger.java:104)
        at org.apache.tools.ant.listener.Log4jListener.<init>(Log4jListener.java
:49)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)

 

Please help.
        at org.apache.tools.ant.util.ClasspathUtils.newInstance(ClasspathUtils.j
ava:267)
        at org.apache.tools.ant.Main.addBuildListeners(Main.java:739)

1 ACCEPTED SOLUTION

Accepted Solutions

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

Is this a new install or an existing?

You might want to get in touch with Clearwell support.  It would seem like something might not be configured correctly.

View solution in original post

4 REPLIES 4

Deepak_Jindal
Level 4

Hello,

 

Please suggest what should we check to fix this issue.

 

Best Regards,

Deepak Jindal

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

Is this a new install or an existing?

You might want to get in touch with Clearwell support.  It would seem like something might not be configured correctly.

Jeff9
Level 1
Partner Accredited

Hello,

Sorry to ask some simple questions, but it may lead to something:

1. Is this one appliance or a DA?

2.  Are you holding the log files under d:\cw\Vxx\ or on a shared location?

 

It seems to me that the issue maybe an open file issue.

Try to stop the services with windows services and see if they stop clean.  Check and see if anything was written to the server or ant log files and try to restart the windows services.  Then try to stop things with the utility.

Let's see what happens there.

regards,

Jeff

Daly
Level 5
Partner Employee Accredited Certified

Hello,

Check the permissions:

java.io.FileNotFoundException: logs\ant_output.log (Access is denied)

In d:\cw\vxxx\logs try rename ant_output.log on the windows service esaapplicationservice bound account (e.g, cwappadmin). If you rename it should re-create another upon running the utility, it's definitely worth checking that permissions propagate from CW\vxxx\ down to the logs and subdirectories with given account - also worth checking read only isn't set on the file.