Invalid configuration file config.xml
2 posts
• Page 1 of 1
Invalid configuration file config.xml
Hello everybody,
I've been tried to test demos showcase and jvxfirstapp but I get the folowing error:
"Invalid configuration file: ...\WEB-INF\rad\apps\firstapp\config.xml"
(see pictures attached)
I'm using WildFly-8.2.0
Java JRE-1.8.0_40
Same error when I try to run in Eclipse:
(Exception in thread "AWT-EventQueue-0" : Invalid configuration file: ......\jvxfirstapp-1.4\rad\apps\firstapp\config.xml)
Please help.
Thank you.
I've been tried to test demos showcase and jvxfirstapp but I get the folowing error:
"Invalid configuration file: ...\WEB-INF\rad\apps\firstapp\config.xml"
(see pictures attached)
I'm using WildFly-8.2.0
Java JRE-1.8.0_40
Same error when I try to run in Eclipse:
(Exception in thread "AWT-EventQueue-0" : Invalid configuration file: ......\jvxfirstapp-1.4\rad\apps\firstapp\config.xml)
Please help.
Thank you.
- Attachments
-
- showcase
- Picture2.png (10.69 KiB) Viewed 17606 times
-
- jvxfirstapp
- Picture1.png (11.64 KiB) Viewed 17606 times
- ciprianb
- Posts: 1
- Joined: Mon Mar 30, 2015 6:27 pm
Re: Invalid configuration file config.xml
Wildfly has some special features.
If you expose the war or configure Wildfly to expose war files automatically, it should work out-of-the-box.
But there are also different options to deploy a jvx application:
1) JNDI
2) put rad directory to jvx_rad.jar
3) config loading via classpath
JNDI
Use: java:/comp/env/jvx/<applicationname>/config
Possible values: file-name (String), resource-name (String), XML content (String), InputStream, IVirtualZone
jvx-rad.jar
(Possible if you integrate jar creation in your deployment process)
Simply create a jar archive with rad directory (and all sub directories, files). Put the file to the lib directory.
AND enable classpath option via system property: -DConfiguration.search.classpath=true
config loading via classpath
Put your config.xml to your classpath (server source folder):
for server.xml (server zone) it's a different name:
All options are supported, but it depends on your needs and what you prefer.
If you expose the war or configure Wildfly to expose war files automatically, it should work out-of-the-box.
But there are also different options to deploy a jvx application:
1) JNDI
2) put rad directory to jvx_rad.jar
3) config loading via classpath
JNDI
Use: java:/comp/env/jvx/<applicationname>/config
Possible values: file-name (String), resource-name (String), XML content (String), InputStream, IVirtualZone
jvx-rad.jar
(Possible if you integrate jar creation in your deployment process)
Simply create a jar archive with rad directory (and all sub directories, files). Put the file to the lib directory.
AND enable classpath option via system property: -DConfiguration.search.classpath=true
config loading via classpath
Put your config.xml to your classpath (server source folder):
- Code: Select all
/rad/apps/<applicationname_lowercase>/config.xml
- Code: Select all
/<applicationname_lowercase>.xml
- Code: Select all
/config.xml
for server.xml (server zone) it's a different name:
- Code: Select all
/rad/server/config.xml
- Code: Select all
/server.xml
All options are supported, but it depends on your needs and what you prefer.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
2 posts
• Page 1 of 1