| Author |
Properties.def not found
|
Sumit Deshpande
Ranch Hand
Joined: Jan 10, 2005
Posts: 38
|
|
Hi, I'm trying to create EAR file using weblogic.marathon.ddinit.EarInit class from weblogic.jar. But i'm getting a warning "Couldn't find properties: Properties.def". What is this Properties.def file ? What does it do ? Do i need to put any weblogic related jar (other than weblogic.jar) in my classpath? Regards, Sumit
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
Getting all these little helper classes to work is a royal pain. Sometimes it seemed like it would be easier to do some of it manually. I inherited a build with (among other things) use of weblogic.marathon.ddinit.EarInit equivalent in 6.1 and got earinit to work with 8.1. It is set up to run in ant, but it's just using a java task, so I ran it on the command line. Where earStaging is a directory that the ear will be created from using an ear task. EarInit generates the application.xml. (That's what you mean isn't it?) So you can see from my command that only weblogic.jar is in the classpath. Your error sounds vaguely familiar, but I didn't keep detailed notes on every issue I encountered upgrading that build. I'd recommend making sure your don't have anything extra in your classpath, path. Don't know what versions you're using. Since I was running it from ant, I did a minimalist environment setup before I start. Your mileage may vary. set ANT_HOME=C:\_tools\apache-ant-1.6.2 set WL_HOME=C:\bea812\weblogic81 set JAVA_HOME=C:\bea812\jdk141_05 set CLASSPATH= [ February 25, 2005: Message edited by: Carol Enderlin ]
|
 |
 |
|
|
subject: Properties.def not found
|
|
|