*
The moose likes EJB and other Java EE Technologies and the fly likes Sample java EE application not running on netbeans PLESASE HELP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Sample java EE application not running on netbeans PLESASE HELP." Watch "Sample java EE application not running on netbeans PLESASE HELP." New topic
Author

Sample java EE application not running on netbeans PLESASE HELP.

Meherdad Bomanbehram
Ranch Hand

Joined: May 28, 2007
Posts: 132

Hi all I am tryiong to run the sample application "Interceptor Stateless" on netbeans 6.8 . It seems to compile and deploy ok but when i try to run it I get the following error
Can some one please4 guide me as to what is going worng ?

Undeploying ...
Initial deploying InterceptorStateless to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\gfdeploy\InterceptorStateless
Completed initial distribution of InterceptorStateless
post-run-deploy:
run-deploy:
Warning: Could not find file C:\sges-v3\glassfish\domains\domain1\generated\xml\InterceptorStateless\InterceptorStatelessClient.jar to copy.
Copying 1 file to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist
Copying 4 files to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\InterceptorStatelessClient
Copying 1 file to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\InterceptorStatelessClient
java.lang.NullPointerException
at org.glassfish.appclient.client.acc.ACCLogger$1.run(ACCLogger.java:149)
at java.security.AccessController.doPrivileged(Native Method)
at org.glassfish.appclient.client.acc.ACCLogger.reviseLogger(ACCLogger.java:146)
at org.glassfish.appclient.client.acc.ACCLogger.init(ACCLogger.java:93)
at org.glassfish.appclient.client.acc.ACCLogger.<init>(ACCLogger.java:80)
at org.glassfish.appclient.client.AppClientFacade.createBuilder(AppClientFacade.java:360)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:247)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
Java Result: 1
run-InterceptorStateless-app-client:
run:
BUILD SUCCESSFUL (total time: 10 seconds)
M Yama
Greenhorn

Joined: Apr 21, 2010
Posts: 2
Try to change your GlassFish to v3.0.1 or v3.1.
You can download it from http://download.java.net/glassfish/v3.1/nightly/
Add and use the new Glassfish server to the NetBeans.

Yamaguti
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sample java EE application not running on netbeans PLESASE HELP.
 
Similar Threads
Newb EE deployment / exec questions - app client - EJB class not found exception.
Using Netbean 6.8 to create a Servlet app that queries a database
web application fails to deploy
Applet error
J2EE Application- Where to Start?