Hi Chetana :

Where do you put your .properties file ?


sincerely

bambang
"Java Samurai with Passion!"

On Mon, Nov 23, 2009 at 2:12 PM, Chetana Shenoy <chetan...@yahoo.com> wrote:

> Hello:
>    I was trying to run a web application viz Lottery Annotation. I got the
> following error:
>
> The following error occurred while executing this line:
> C:\Chetana\Java\15 -
> EJB3.0\LotteryAnnotation\LotteryAnnotation-ejb\nbproject\build-impl.xml:145:
> The Java EE server classpath is not correctly set up. Your active server
> type is J2EE.
>
> Either open the project in the IDE and assign the server or setup the
> server classpath manually.
> For example like this:
>
>   ant -Duser.properties.file=<path_to_property_file> (where you put the
> property "j2ee.platform.classpath" in a .properties file)
> or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties
> file is used)
>
> I set the classpath variable but it still does'nt work. I don't know how to
> add the application server instance as well for the project as whenever I
> open any project , i get a missing server problem
>
> Can anyone please give some suggestions to work around this.
>
> Thanks,
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java EE (J2EE) Programming with Passion!" group.
> To post to this group, send email to
> java-ee-j2ee-programming-with-passion@googlegroups.com
> To unsubscribe from this group, send email to
> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<java-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
>
> http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to