aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes restart sun server deployed application not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "restart sun server deployed application not working" Watch "restart sun server deployed application not working" New topic
Author

restart sun server deployed application not working

chandrasekar joseph
Greenhorn

Joined: Dec 17, 2012
Posts: 1
server : sun-appserver-pe8.1_01
DB : oracle
Datasource name : oracle.jdbc.pool.OracleDataSource

When we deploy the ear file through admin site, we are able to run the application. when we shutdown and restart the application server we are getting below exception. please help out

java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at $Proxy18.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.ejb.containers.BaseContainer.instantiateEJBObjectImpl(BaseContainer.java:1821)
at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:608)
at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:141)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:287)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: com.sun.enterprise.InvocationException
at com.sun.enterprise.resource.ResourceManagerImpl.getTransaction(ResourceManagerImpl.java:41)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:141)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:258)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:147)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: restart sun server deployed application not working