File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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

restart sun server deployed application not working

chandrasekar joseph

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

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at $Proxy18.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at com.sun.ejb.containers.BaseContainer.instantiateEJBObjectImpl(
at com.sun.ejb.containers.BaseContainer.initializeHome(
at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(
at com.sun.enterprise.server.AbstractLoader.loadEjbs(
at com.sun.enterprise.server.ApplicationLoader.load(
at com.sun.enterprise.server.TomcatApplicationLoader.load(
at com.sun.enterprise.server.AbstractManager.load(
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(
at com.sun.enterprise.server.ApplicationServer.onStartup(
at com.sun.enterprise.server.PEMain.main(
Caused by: com.sun.enterprise.InvocationException
at com.sun.enterprise.resource.ResourceManagerImpl.getTransaction(
at com.sun.enterprise.resource.PoolManagerImpl.getResource(
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(
at com.sun.gjc.spi.DataSource.getConnection(
It is sorta covered in the JavaRanch Style Guide.
subject: restart sun server deployed application not working