This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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