NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

runtime errors with nb68, nb69dev with EE5 tutorial ejb/cart if using incremental/directory deploy - works with regular deploy to gfv211; fails with gfv3

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
emiddio



Joined: 07 Sep 2009
Posts: 233

PostPosted: Wed Mar 10, 2010 10:52 pm    Post subject: runtime errors with nb68, nb69dev with EE5 tutorial ejb/cart if using incremental/directory deploy - works with regular deploy to gfv211; fails with gfv3 Reply with quote

i answered this from the glassfish user list; but the problem is netbeans so
posting here.

filed netbeans bug
http://netbeans.org/bugzilla/show_bug.cgi?id=181804

i suspect this is an error not confined to this one example.
gary

----- Original Message -----
From: "emiddio-verizon" <address-removed>
To: <address-removed>
Sent: Wednesday, March 10, 2010 2:29 PM
Subject: Re: Build.xml errors in Java EE tutorial examples


Quote:
as i had prev gotten all the javaee5 tutorial examples to work (with some
fixes i had to apply to the tutorials)-- i investigated
just now;

tested with gfv2.1.1, and gfv3 and nb651, and nb69dev build -- some
testing with nb68 -- seemed to work
like nb69dev builds.

nb651 only tested with gfv211;
nb69dev build tested with gfv211 and gfv3.

results --

nb651 works -- both with directory deployment and with regular deploy

nb69dev -- works with gfv211 -- ONLY with regular deploy -- gets error
like you got with directory-deploy
like what you seem to be using.

nb69 fails with gfv3 -- which only supports directory deployment at this
time.

change your config to use regular deploy -- and it should work -- use
gfv211, not gfv3

if you want to use directory deployment --nb651 works; did not test with
nb671

gary

----- Original Message -----
From: <address-removed>
To: <address-removed>
Sent: Wednesday, March 10, 2010 11:21 AM
Subject: Build.xml errors in Java EE tutorial examples


Quote:
Guys and Gals,

Spent the last two-three days just trying to make the Java EE 5 examples
work. The latest error has got me dumbfounded, even moreso than usual.
I've run several SE examples with no problem.

Using ...

Windows XP
NetBeans IDE 6.8
Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12))
(build b31g-fcs)
Java EE 5 SDK

I load the "cart" example from the sun tutuorial
(http://java.sun.com/javaee/5/docs/tutorial/doc/bnboc.html) into Netbeans
IDE. In the projects tab, I right-click "cart" and select "deploy". I
receive no errors or warnings. Logging into glassfish, I see two files
under Applications->Enterprise Applications:

cart-app-client.jar AppClientModule Download Client Stubs Launch
cart-ejb.jar EJBModule

In the projects tab, I right-click "cart" and select "run". I receive
the following errors:

Incrementally deploying cart#cart-app-client.jar_localhost:4848_server
Incrementally deploying cart#cart-ejb.jar_localhost:4848_server
Incrementally deploying cart_localhost:4848_server
Completed incremental distribution of cart
post-run-deploy:
run-deploy:
C:\Java\Examples\javaeetutorial5\javaeetutorial5\examples\ejb\cart\build.xml:44:
The following error occurred while executing this line:
C:\Java\Examples\javaeetutorial5\javaeetutorial5\examples\ejb\cart\build.xml:34:
The following error occurred while executing this line:
C:\Java\Examples\javaeetutorial5\javaeetutorial5\examples\ejb\cart\nbproject\build-impl.xml:347:
The following error occurred while executing this line:
C:\Java\Examples\javaeetutorial5\javaeetutorial5\examples\ejb\cart\nbproject\build-impl.xml:413:
C:\Java\Examples\javaeetutorial5\javaeetutorial5\examples\ejb\cart\dist\gfdeploy\cart
not found.
BUILD FAILED (total time: 6 seconds)

build.xml: 44 is the "run-nb" in ...

<target name="run" depends="init,run-deploy">
<antcall target="run-ant"/>
<antcall target="run-nb"/>
</target>

build.xml: 34 is the "run-ac" in ...

<target name="run-nb" if="netbeans.home" depends="init">
<antcall target="run-ac"/>
</target>

build-impl.xml:347 is the "run-${app.client}" in ...

<target depends="init" if="app.client" name="run-ac">
<antcall target="run-${app.client}"/>
</target>

build-impl.xml:413 is the <copy flatten ... > in ...

<copy flatten="false" todir="${dist.dir}/cartClient">
<fileset dir="${dist.dir}/gfdeploy/cart" includes="**/*.jar"/>
</copy>



I'm not sure where to go from here. These are pre-packaged examples. I
was hoping to simply deploy, run, and then dissect them, but I'm at a
loss. Google, for once, was unable to help me with this error.
[Message sent by forum member 'eevictim' (address-removed)]

http://forums.java.net/jive/thread.jspa?messageID=391088

---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed



---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo