Hello!

I have a strange problem while running Merlin as an NT-service. 

When I use the cli interface everything works well, but when I start the
NT service I get the error pasted below (from wrapper.log):

The same config.xml document obviously works when using command line.

Thx,

/Torbj�rn

--

Wrapper.log (the error message is in swedish, it says something like:
the document root element could not be found)

INFO   | jvm 1    | 2003/12/17 17:45:05 | ---- report
-------------------------------------------------------
INFO   | jvm 1    | 2003/12/17 17:45:05 | 
INFO   | jvm 1    | 2003/12/17 17:45:05 | Exception:
org.apache.avalon.merlin.kernel.KernelException
INFO   | jvm 1    | 2003/12/17 17:45:05 | Message: Could not load the
targets directive: file:/C:/Babelfish/progs/config.xml
INFO   | jvm 1    | 2003/12/17 17:45:05 | 
INFO   | jvm 1    | 2003/12/17 17:45:05 | Cause:
org.xml.sax.SAXParseException
INFO   | jvm 1    | 2003/12/17 17:45:05 | Message: Dokumentets
rotelement saknas.
INFO   | jvm 1    | 2003/12/17 17:45:05 | ---- stack trace
---------------------------------------------------
INFO   | jvm 1    | 2003/12/17 17:45:05 | 
INFO   | jvm 1    | 2003/12/17 17:45:05 | org.xml.sax.SAXParseException:
Dokumentets rotelement saknas.
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.crimson.parser.Parser2.fatal(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.crimson.parser.Parser2.fatal(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.crimson.parser.Parser2.parse(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
ild(DefaultConfigurationBuilder.java:290)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
ild(DefaultConfigurationBuilder.java:273)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.merlin.kernel.impl.DefaultKernelContext.getTargets(Def
aultKernelContext.java:778)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.merlin.kernel.impl.DefaultKernelContext.<init>(Default
KernelContext.java:355)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.merlin.kernel.impl.CLIKernelLoader.createContext(CLIKe
rnelLoader.java:403)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.apache.avalon.merlin.kernel.impl.CLIKernelLoader.<init>(CLIKernelLoa
der.java:126)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
java.lang.reflect.Constructor.newInstance(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
Merlin.main(Merlin.java:274)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:10
2)
INFO   | jvm 1    | 2003/12/17 17:45:05 |       at
java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2003/12/17 17:45:05 | 
INFO   | jvm 1    | 2003/12/17 17:45:05 |
-------------------------------------------------------------------

-- 
Torbj�rn Karlsson 
Interpontilis Consulting AB
Marieholmsgatan 64
SE-415 02 Gothenburg Sweden
Phone: +46 (0)708 991033
Email: [EMAIL PROTECTED]
Internet: www.ipontilis.com 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to