• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB-app-client

 
Harshi Gunarathna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did the tutorial http://www.netbeans.org/kb/61/javaee/entappclient.html
but once i run the app i get following warnings..
run-display-browser:
run-ac:

27-Oct-2008 07:30:12 com.sun.enterprise.appclient.MainWithModuleSupport <init>
WARNING: ACC003: Application threw an exception.
java.io.FileNotFoundException: C:\DOCUME~1\IBM\LOCALS~1\Temp\acc-xClient.jar1909\x-app-client_jar\Main.class (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:169)
at com.sun.enterprise.appclient.AppClientInfo.classContainsAnnotation(AppClientInfo.java:641)
at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnnotations(AppClientInfo.java:413)
at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersistenceUnit(AppClientInfo.java:382)
at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo.java:175)
at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:149)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:366)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
at com.sun.enterprise.appclient.Main.main(Main.java:200)
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\DOCUME~1\IBM\LOCALS~1\Temp\acc-xClient.jar1909\x-app-client_jar\Main.class (The system cannot find the file specified)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:487)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
at com.sun.enterprise.appclient.Main.main(Main.java:200)
Caused by: java.io.FileNotFoundException: C:\DOCUME~1\IBM\LOCALS~1\Temp\acc-xClient.jar1909\x-app-client_jar\Main.class (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:169)
at com.sun.enterprise.appclient.AppClientInfo.classContainsAnnotation(AppClientInfo.java:641)
at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnnotations(AppClientInfo.java:413)
at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersistenceUnit(AppClientInfo.java:382)
at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo.java:175)
at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:149)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:366)
... 2 more
Java Result: 1

run-x-app-client:
run:
BUILD SUCCESSFUL (total time: 10 seconds)

I coudn't find it.can somebody help me to find the issue please??


Edited by Jaikiran: Fixed the URL
[ October 27, 2008: Message edited by: Jaikiran Pai ]
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Harshi,

Welcome to JavaRanch


java.io.FileNotFoundException: C:\DOCUME~1\IBM\LOCALS~1\Temp\acc-xClient.jar1909\x-app-client_jar\Main.class (The system cannot find the file specified)


I would suggest you move your application outside the Documents and Settings folder. Try moving it to some folder which does not have a space in its path name.
 
Harshi Gunarathna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. But actually the folder is inside C:\java\ folder.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!