NetBeans Forums

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

NEED HELP ASAP, JSF DOES NOT APPEAR TO WORK ON NB 6.7.1 and GLASSFISH SERVER BROKEN

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



Joined: 19 May 2009
Posts: 31

PostPosted: Wed Sep 16, 2009 5:43 am    Post subject: NEED HELP ASAP, JSF DOES NOT APPEAR TO WORK ON NB 6.7.1 and GLASSFISH SERVER BROKEN Reply with quote

I'm finding NB 6.7.1 and its associated server just about impossible to work with. If you haven't migrated from 6.5.1. You may want to think twice about it.

I've created and modified multiple JSF projects under IntelliJ IDEA and earler version of NetBEans, But I cannot get JSF to work properly under NB 6.7.1. This is my second posting on this issue. It is urgent for me and looks like it may be a significant bug in NB 6.7.1. I had somebody experienced in JSF look at the quotesetimator in my other post. I tried creating a simpler test app without the persistence layer and still have the same problem. I can't get the action method in the backing bean to work when I click the command button. Really need help here, I have deadlines on this is proving to be a major roadblock. The Web.xml is unchanged from that generated by NB. The other components are below the glassfish dump


Also the glassfish server has broken on me twice, now. When I try to start it I get a long message saying that it couldn't start because of a bad location, corrupted application, or some other nonsense. Here's the stack trace I get the following. Any idea how I fix this? The only way I can do anything with it is by re-instlling NB and the server.

Code:

REgistering Custom ContextConfig
REgistering Custom Context
"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3364"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 216  completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)
        at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)
        at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)
        at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)
        at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)
        at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)
        at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)
        at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)
        ... 32 more
"IOP02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"
org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 202  completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10170)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1666)
        at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)
        at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)
        at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)
        at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 216  completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)
        at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)
        at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)
        at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)
        ... 26 more
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)
        ... 32 more
UTIL6009:Unexcpected Exception in createORB.
org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 202  completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10170)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1666)
        at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)
        at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)
        at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)
        at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 216  completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)
        at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)
        at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)
        at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)
        ... 26 more
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)
        at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)
        ... 32 more
CORE5081: Exception while creating ORB: [java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 202  completed: No]
CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]
com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        ... 13 more
Caused by: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        ... 17 more
Caused by: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)
        ... 18 more
CORE5071: An error occured during initialization
java.lang.RuntimeException: com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:88)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        ... 11 more
Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        ... 13 more
Caused by: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        ... 17 more
Caused by: java.lang.RuntimeException: Unable to create ORB
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)
        ... 18 more
Server Startup failed. Exiting...
Server shutdown in progress...
WEB0303: Stopping Sun-Java-System/Application-Server.
CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
        at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:823)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:100)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: LifecycleException:  WEB0103: This web container has not yet been started
        at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:912)
        at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)
        ... 10 more
CORE5051: Shutting down all J2EE applications ...
CORE5068 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...
CORE 5061 : Resource adapters Stop() Complete
CORE5052: Application shutdown complete.
CORE5061: Exception :
java.lang.NullPointerException
        at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
        at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
        at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
        at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
        at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException
        at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
core.tmp_folder_deletion_failed
CORE5061: Exception :
java.lang.NullPointerException
        at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
        at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
        at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
        at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
        at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
        at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:591)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:432)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Server stopped due to Server startup failure.
Starting Domain domain1, please wait.
Default Log location is C:\Sun\AppServer\domains\domain1\logs\server.log.
Redirecting output to C:/Sun/AppServer/domains/domain1/logs/server.log
Domain domain1 failed to startup. Please check the server log for more details.




go.jsp
Code:

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<%--
This file is an entry point for JavaServer Faces application.
--%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>JSP Page</title>
</head>
<body>
<f:view>
<h1>JAS Generator</h1>
<p/>
<h:form id="testForm" enctype="multipart/form-data" >
<p/>Both fields are required.
<p/>Enter Test ID: <h:inputText id="pid" value="#{testbean.uid}" required="true"/>
<p/><h:commandButton value="Enter" action="#{testbean.testit}"/>
</h:form>
</f:view>
</body>
</html>


testbean.java
Code:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lingosys.quoteest;

/**
 *
 * @author mphoenix
 */
public class testbean {
    private String uid;

    public testbean() {

    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String testit() {
        return "correct";
    }
}

Back to top
pepelara



Joined: 29 Nov 2008
Posts: 115

PostPosted: Wed Sep 16, 2009 8:46 am    Post subject: NEED HELP ASAP, JSF DOES NOT APPEAR TO WORK ON NB 6.7.1 and GLASSFISH SERVER BROKEN Reply with quote

Hi Mike,

What OS are you using?

I use WinXP and everything is ok. I have installed NB 6.7.1 but wanted no
problem with glassfish.
So, I first uninstalled NB 6.5 leaving glassfish on my machine and second,
when I installed NB 6.7.1
I did a customize installation avoiding all the servers unchecking its
installation check.

Sometimes occurs an error when installing glassfish form the installer of NB
(I am talking about my experience
with NB and glassfish on my OS). I think it is a better solution trying from
the start to solving problems.

I have to say that I have developed a Visual Web JSF app that is my managing
web and a JSF app that is the
output of managing one, and both works ok together into an ear. All on NB
6.7.1

Best Regards,
Jose Alvarez de Lara

--------------------------------------------------
From: "MikePhoenix" <address-removed>
Sent: Wednesday, September 16, 2009 7:45 AM
To: <address-removed>
Subject: [nbj2ee] NEED HELP ASAP, JSF DOES NOT APPEAR TO WORK ON NB 6.7.1
and GLASSFISH SERVER BROKEN

Quote:
I'm finding NB 6.7.1 and its associated server just about impossible to
work with. If you haven't migrated from 6.5.1. You may want to think twice
about it.



I've created and modified multiple JSF projects under IntelliJ IDEA and
earler version of NetBEans, But I cannot get JSF to work properly under NB
6.7.1. This is my second posting on this issue. It is urgent for me and
looks like it may be a significant bug in NB 6.7.1. I had somebody
experienced in JSF look at the quotesetimator in my other post. I tried
creating a simpler test app without the persistence layer and still have
the same problem. I can't get the action method in the backing bean to
work when I click the command button. Really need help here, I have
deadlines on this is proving to be a major roadblock. The Web.xml is
unchanged from that generated by NB. The other components are below the
glassfish dump





Also the glassfish server has broken on me twice, now. When I try to start
it I get a long message saying that it couldn't start because of a bad
location, corrupted application, or some other nonsense. Here's the stack
trace I get the following. Any idea how I fix this? The only way I can do
anything with it is by re-instlling NB and the server.




Code:


REgistering Custom ContextConfig

REgistering Custom Context

"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the
specified host/port: all interfaces/3364"

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)

at
com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)

at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)

at
com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)

at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)

at
com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)

at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)

at
com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)

at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)

at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)

at java.security.AccessController.doPrivileged(Native Method)

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)

at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)

at
com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)

at com.sun.enterprise.server.PEMain.run(PEMain.java:409)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: java.net.BindException: Address already in use: bind

at sun.nio.ch.Net.bind(Native Method)

at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)

at
com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)

... 32 more

"IOP02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"

org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10170)

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)

at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1666)

at
com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)

at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)

at
com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)

at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)

at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)

at java.security.AccessController.doPrivileged(Native Method)

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)

at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)

at
com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)

at com.sun.enterprise.server.PEMain.run(PEMain.java:409)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216
completed: No

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)

at
com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)

at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)

at
com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)

at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)

... 26 more

Caused by: java.net.BindException: Address already in use: bind

at sun.nio.ch.Net.bind(Native Method)

at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)

at
com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)

... 32 more

UTIL6009:Unexcpected Exception in createORB.

org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10170)

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)

at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1666)

at
com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)

at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)

at
com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)

at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)

at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)

at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)

at java.security.AccessController.doPrivileged(Native Method)

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)

at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)

at
com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)

at com.sun.enterprise.server.PEMain.run(PEMain.java:409)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216
completed: No

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)

at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)

at
com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)

at
com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)

at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)

at
com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)

at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)

... 26 more

Caused by: java.net.BindException: Address already in use: bind

at sun.nio.ch.Net.bind(Native Method)

at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)

at
com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)

at
com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:174)

... 32 more

CORE5081: Exception while creating ORB: [java.lang.RuntimeException:
org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No]

CORE5082: Exception running j2ee services: [java.lang.RuntimeException:
Unable to create ORB]

com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

com.sun.enterprise.server.ondemand.ServiceGroupException:
com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)

at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)

at
com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)

at com.sun.enterprise.server.PEMain.run(PEMain.java:409)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)

at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)

at java.security.AccessController.doPrivileged(Native Method)

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)

... 13 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)

... 17 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)

... 18 more

CORE5071: An error occured during initialization

java.lang.RuntimeException:
com.sun.enterprise.server.ondemand.ServiceGroupException:
com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:88)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)

at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)

at
com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)

at com.sun.enterprise.server.PEMain.run(PEMain.java:409)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException:
com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)

at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)

at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)

... 11 more

Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException:
java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)

at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)

at java.security.AccessController.doPrivileged(Native Method)

at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)

... 13 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)

at
com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)

... 17 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at
com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)

... 18 more

Server Startup failed. Exiting...

Server shutdown in progress...

WEB0303: Stopping Sun-Java-System/Application-Server.

CORE5061: Exception :

com.sun.appserv.server.ServerLifecycleException: WEB0106: An error
occurred while stopping the web container

at
com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:823)

at
com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:100)

at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)

at com.sun.enterprise.server.PEMain.run(PEMain.java:427)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Caused by: LifecycleException: WEB0103: This web container has not yet
been started

at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:912)

at
com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)

... 10 more

CORE5051: Shutting down all J2EE applications ...

CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters
...

CORE 5061 : Resource adapters Stop() Complete

CORE5052: Application shutdown complete.

CORE5061: Exception :

java.lang.NullPointerException

at
com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)

at
com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)

at
com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)

at
com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)

at
com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)

at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)

at com.sun.enterprise.server.PEMain.run(PEMain.java:427)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

CORE5061: Exception :

com.sun.appserv.server.ServerLifecycleException

at
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)

at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)

at com.sun.enterprise.server.PEMain.run(PEMain.java:427)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

core.tmp_folder_deletion_failed

CORE5061: Exception :

java.lang.NullPointerException

at
com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)

at
com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)

at
com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)

at
com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)

at
com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)

at
com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:591)

at com.sun.enterprise.server.PEMain.run(PEMain.java:432)

at com.sun.enterprise.server.PEMain.main(PEMain.java:336)

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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

Server stopped due to Server startup failure.

Starting Domain domain1, please wait.

Default Log location is C:\Sun\AppServer\domains\domain1\logs\server.log.

Redirecting output to C:/Sun/AppServer/domains/domain1/logs/server.log

Domain domain1 failed to startup. Please check the server log for more
details.











go.jsp


Code:




<%@page contentType="text/html" pageEncoding="UTF-8"%>



<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>

<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">



<%--

This file is an entry point for JavaServer Faces application.

--%>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"/>

<title>JSP Page</title>

</head>

<body>

<f:view>

<h1>JAS Generator</h1>

<p/>

<h:form id="testForm" enctype="multipart/form-data" >

<p/>Both fields are required.

<p/>Enter Test ID: <h:inputText id="pid"
value="#{testbean.uid}" required="true"/>

<p/><h:commandButton value="Enter"
action="#{testbean.testit}"/>

</h:form>

</f:view>

</body>

</html>





testbean.java


Code:


/*

* To change this template, choose Tools | Templates

* and open the template in the editor.

*/



package com.lingosys.quoteest;



/**

*

* @author mphoenix

*/

public class testbean {

private String uid;



public testbean() {



}



public String getUid() {

return uid;

}



public void setUid(String uid) {

this.uid = uid;

}



public String testit() {

return "correct";

}

}










Back to top
MikePhoenix



Joined: 19 May 2009
Posts: 31

PostPosted: Wed Sep 16, 2009 5:28 pm    Post subject: Reply with quote

Well, then maybe the problem is with the version of glassfish that comes with NB6.7.1, because I am having nothing but trouble trying to JSF to communicate with my backing bean and I have had the glassfish server crap out on me twice so far. I am also running on Windows XP. Would really appreciate some real help here.
Back to top
Jeff Rubinoff
Posted via mailing list.





PostPosted: Wed Sep 16, 2009 5:48 pm    Post subject: NEED HELP ASAP, JSF DOES NOT APPEAR TO WORK ON NB 6.7.1 and GLASSFISH SERVER BROKEN Reply with quote

Are you using GlassFish v3? I suggest using 2.1. v3 is very much under
development.

MikePhoenix wrote:
Quote:
Well, then maybe the problem is with the version of glassfish that comes with NB6.7.1, because I am having nothing but trouble trying to JSF to communicate with my backing bean and I have had the glassfish server crap out on me twice so far. I am also running on Windows XP. Would really appreciate some real help here.




Back to top
MikePhoenix



Joined: 19 May 2009
Posts: 31

PostPosted: Wed Sep 16, 2009 7:15 pm    Post subject: Reply with quote

No I am using V2.1.
Back to top
MikePhoenix



Joined: 19 May 2009
Posts: 31

PostPosted: Wed Sep 16, 2009 8:27 pm    Post subject: Reply with quote

OK, when I put a dummy line in the bean's constructor int x = 0 and do a breakpoint it stops there. So it is creating the backing bean object, but for some reason the set method for uid is not entered when I enter text into the box and testit method is not entered when I click the enter button. What gives? Really need help here.
Back to top
MikePhoenix



Joined: 19 May 2009
Posts: 31

PostPosted: Thu Sep 17, 2009 1:25 am    Post subject: Reply with quote

OK, got it. Apparently the problem was the form attribute enctype="multipart/form-data". The app I cloned this from was doing some file uploading and required it. Apparently when you don't set up all the filters associated with file uploads properly, this attribute causes the problem I was experiencing.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE 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 cannot 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