webtier@glassfish.java.net

Unknown file type error (.jsp file)

From: <webtier_at_javadesktop.org>
Date: Thu, 19 Nov 2009 04:10:42 PST

Hi

Im running windows vista on an M1330 (dell) with netbeans/glassfish bundle. Netbeans 6.5 and glassfish v2.1.

when I try to run the guessNumber examble, I get a system error saying unknown file type with options to download from internet or save file. Neither of which of course leads to anywhere!

The application builds and deploys successfully within netbeans heres code -

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Undeploying ...
While undeploying, trying to stop application in target server completed successfully
While undeploying, trying to remove reference for application in target server completed successfully
Undeploying the application
Trying to undeploy application from domain completed successfully
Undeployment of application guessNumber completed successfully
All operations completed successfully
In-place deployment at C:\Users\kingsley\Documents\NetBeansProjects\javaeetutorial5\examples\web\guessNumber\build\web
Start registering the project's server resources
Finished registering server resources
moduleID=guessNumber
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server completed successfully
Trying to start application in target server completed successfully
Deployment of application guessNumber completed successfully
Enable of guessNumber in target server completed successfully
Enable of application in all targets completed successfully
All operations completed successfully
run-deploy:
BUILD SUCCESSFUL (total time: 2 seconds)


As you 0can see everything looks ok, but when i try to run app. comes up with this unknown file type error.

I dont use ant much but when i try to deploy using ant - heres code -


umber>ant deploy
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li
b\tools.jar
Buildfile: build.xml

check:

tools:

-pre-deploy:

deploy:
     [exec] CLI171 Command deploy failed : Unable to find the archive to be depl
oyed in specified location.

deploy-url-message:
     [echo] Application Deployed at: http://localhost:8080/guessNumber

BUILD SUCCESSFUL
Total time: 1 second
C:\Users\kingsley\Documents\NetBeansProjects\javaeetutorial5\examples\web\guessN
umber>

only thing is this CLI171 command deploy failed! anyone has any ideas.. I be very very grateful.. because for this is not good!
[Message sent by forum member 'hellofadude' ]

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