I'm trying to test out porting a pretty simple EAR from WebLogic to JBoss. I 
have an EJB JAR, a bunch of "library" JARs (like Quartz), and a WAR.

In WebLogic, putting things like the quartz.properties, or my own app's 
.properties file in /APP-INF/classes made them available, and I understand 
that's a WebLogic-specific idiom.

When I move my properties files to the root of the ear, when I deploy, my EJB's 
deploy, but my startup code fails, trying to load the quartz. properties file 
with :
10:24:17,747 ERROR [SchedulerFactory] Properties file: 
'file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp745app.ear!/quartz.properties'
 could not be read.
org.quartz.SchedulerException: Properties file: 
'file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp745app.ear!/quartz.properties'
 could not be read.
[See nested exception: java.io.FileNotFoundException: 
file:\C:\jboss-4.0.2\server\default\tmp\deploy\tmp745app.ear!\quartz.properties 
(The filename,
directory name, or volume label syntax is incorrect)]

I don't understand this; there IS no directory named "tmpxxxapp.ear!" in the 
\tmp\deploy directory.

I know I can do things with the MANIFEST.MF file and class paths, but if I'm 
just using pre-built JARs like for Quartz, I would really rather not edit them.

It looks like it's close to working; why am I getting these file not found 
exceptions???

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904922#3904922

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904922


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to