NoSuchObjectException when redeploying

I get the following exception when redeploying. Is this the expected
behavior?
<Jun 4, 2003 9:49:02 AM PDT> <Error> <Tracking> <402201> <EventService
failure w
hile attempting dispatch of Behavior Tracking event: Event [portalApp @
SessionE
ndEvent @ Wed Jun 04 09:49:02 PDT 2003 ]
{session-id=2eg5cRlzJqkX2l111Ok1ZOvZXZ2
WeupkzqCGT6mtmcgMX03XV2IS!-1740880684!1054744633146}.
java.rmi.NoSuchObjectException: Bean is already undeployed.
at
weblogic.ejb20.manager.BaseEJBManager.preInvoke(BaseEJBManager.java:9
5)
at
weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.ja
va:126)
at
weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:12
7)
at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObje
ct.java:61)
at
com.bea.p13n.events.internal.EventServiceBean_kh7q5h_EOImpl.dispatchE
vent(EventServiceBean_kh7q5h_EOImpl.java:29)
at
com.bea.p13n.tracking.TrackingEventHelper.dispatchEvent(TrackingEvent
Helper.java:96)
at
com.bea.p13n.tracking.listeners.SessionEventListener.sessionDestroyed
(SessionEventListener.java:87)
at
weblogic.servlet.internal.WebAppServletContext.notifySessionDestroyed
(WebAppServletContext.java:2312)
at
weblogic.servlet.internal.session.SessionData.remove(SessionData.java
:728)
at
weblogic.servlet.internal.session.MemorySessionContext.invalidateSess
ion(MemorySessionContext.java:61)
at
weblogic.servlet.internal.session.MemorySessionContext$SessionCleanup
Action.run(MemorySessionContext.java:121)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at
weblogic.servlet.internal.session.MemorySessionContext.shutdown(Memor
ySessionContext.java:77)
at
weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebApp
ServletContext.java:4884)
at
weblogic.servlet.internal.WebAppServletContext.shutdown(WebAppServlet
Context.java:4797)
at
weblogic.servlet.internal.ServletContextManager.removeContext(Servlet
ContextManager.java:156)
at
weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:609
at
weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:448
at
weblogic.j2ee.J2EEApplicationContainer.rollbackModule(J2EEApplication
Container.java:1624)
at
weblogic.j2ee.J2EEApplicationContainer.rollback(J2EEApplicationContai
ner.java:949)
at
weblogic.j2ee.J2EEApplicationContainer.rollback(J2EEApplicationContai
ner.java:932)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:584)
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:1062)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:730)
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>

i think your code that you mention has no problem. but in other part
here is some tips for that kind of exception
A NoSuchObjectException is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine. If a NoSuchObjectException occurs attempting to invoke a method on a remote object, the call may be retransmitted and still preserve RMI's "at most once" call semantics. A NoSuchObjectException is also thrown by the method java.rmi.server.RemoteObject.toStub and by the unexportObject methods of java.rmi.server.UnicastRemoteObject and java.rmi.activation.Activatable and

Similar Messages

  • Problems with url-bindings when redeploying on Oracle 9iAS

    Hello!
    I'm working on a project where we're having a development server that runs Oracle 9iAS (9.03). This server is used both for system-testing and for continuous integration using Cruisecontrol. The application that we deploy is an ear-application with several web-applications and ejb-components. We have in order to make these two deployments work together defined two different application servers on the console and deployed on both of them. We have also specified prefixes, like /cc/ on the url-bindings so that we can access all the web-applications.
    Our problems usually arise when Cruisecontrol does a redeploy of what it has built before it's going to test it. It uses dcmctl for this and it usually runs successfully, but sometimes the application server resets the url-bindings so that all the web-applications go to the root. Other times it removes the whole application and I've even seen it show out-of-memory errors even though it still has about a gigabyte of memory available. I don't think this is related to that single server because I've seen the same thing happening on our production-server the first time I was going to redeploy through the console-application.
    Have anyone else had the same problem? (...and hopefully found a solution to it?)
    It's quite annoying for us because this screws up Cruisecontrol for us at least once a day and I'm not sure how good this is for a production environment.
    Regards,
    Bjorn Vidar Boe

    Does anybody know if Financial Brokerage Service(FBS) can be deployed on Oracle 9iAS using OEM. I got the following error when I tried to deploy the ear file:
    Deployment failed: Nested exception Root Cause: Error loading web-app 'ibfbs-web' at C:\Ora9ias\j2ee\FBS\applications\ibfbs\ibfbs-web: Unknown assembly tag in file:/C:/Ora9ias/j2ee/FBS/applications/ibfbs/ibfbs-web/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'ibfbs-web' at C:\Ora9ias\j2ee\FBS\applications\ibfbs\ibfbs-web: Unknown assembly tag in file:/C:/Ora9ias/j2ee/FBS/applications/ibfbs/ibfbs-web/: <ejb-local-ref>. Error loading web-app 'ibfbs-web' at C:\Ora9ias\j2ee\FBS\applications\ibfbs\ibfbs-web: Unknown assembly tag in file:/C:/Ora9ias/j2ee/FBS/applications/ibfbs/ibfbs-web/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'ibfbs-web' at C:\Ora9ias\j2ee\FBS\applications\ibfbs\ibfbs-web: Unknown assembly tag in file:/C:/Ora9ias/j2ee/FBS/applications/ibfbs/ibfbs-web/: <ejb-local-ref>
    Thanks ! Hi -
    Can you check and see what version of 9iAS are you using?
    The ejb-local-ref tag is a new tag introduced in the J2EE 1.3 specification - so you will need to be using the Oracle9iAS v9.0.3 release which is J2EE 1.3 compatible.
    If you are using the v9.0.2 release then you will need to upgrade to v9.0.3
    cheers
    -steve-

  • ClassCastException ONLY when redeployed

    Hi,
    I'm using 6.1 on NT and have a problem when I redeploy my application.
    The application is packaged in a EAR file containing:
    1 JAR - containing 1 Stateless Session Bean, 1 Entity bean, and 1 MDB,
    plus support classes.
    1 WAR - containing servlet code.
    When I start the server up, all works fine.
    But when I redeploy the EAR file (using the automatic detection), I
    get ClassCastException thrown from the session bean and the message
    driven bean when they try and cast the home interface of the Entity
    bean:
    InitialContext ic = new InitialContext();
    Object o = ic.lookup("com.blah.ClientBeanLocalHome");
    client_home =(ClientBeanLocalHome)o;
    Why does this only happen when I redeploy? I thought that because all
    my EJBs are in the same JAR (and support classes) when weblogic
    redeploys the new JAR, I won't get any ClassCast exceptions because
    they will be in the same class loaders? Can any one help? I've had
    this for a long time and I don't seem to be able to solve it.
    Thanks.

    I am suspecting you have an MDB that looks up a Local EJB in the setMessageDrivenContext method during initialization
    of the MDB.
    I would recomend you package the MDB and the Local EJB in the same jar file because a Local EJB has to be accesses form
    clients that are in the same application archive.
    Wayne wrote:
    Sorry for not getting back. I've been away on business.
    I have'nt trying using the manifest for the support classes, as these
    class don't appear to be the problem its the entity bean.
    Here is the stack trace:
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <ProcessRequestBean_j9guts_Impl> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <ProcessRequestBean_j9guts_Impl> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <ProcessRequestBean_j9guts_Impl> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <ProcessRequestBean_j9guts_Impl> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <ejbRemove>
    Mon Mar 04 10:53:37 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <ejbRemove>
    Mon Mar 04 10:53:58 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <Constructor>
    Mon Mar 04 10:53:58 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <setEntityContext>
    Mon Mar 04 10:53:58 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <Constructor>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <setEntityContext>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <Constructor>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <setEntityContext>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <Constructor>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <setEntityContext>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <Constructor>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <ClientBean_1ng6lu_Impl> <setEntityContext>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <Constructor>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <CSXToCPSConversionBean> <setMessageDrivenContext>
    Mon Mar 04 10:53:59 CET 2002:<D> <Application Manager Thread>
    <XSLTConverter> <initialise JAXP/XSLT properties>
    Unable to deploy EJB: ClientEJB from cps-ejb.jar:
    javax.ejb.EJBException: <Errors><Error Number="102"
    Type="NoImplementation">java.lang.ClassCastException:
    com.amadeus.ocg.cps.core.ClientBean_1ng6lu_LocalHomeImpl</Error></Errors>
    at com.amadeus.ocg.cps.csx.CSXToCPSConversionBean.setMessageDrivenContext(CSXToCPSConversionBean.java:82)
    at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:303)
    at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:115)
    at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:191)
    at weblogic.ejb20.pool.Pool.onAfterDeploy(Pool.java:172)
    at weblogic.ejb20.deployer.Deployer.runAfterDeploymentListeners(Deployer.java:1317)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:244)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:359)
    at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:293)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1334)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:844)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:385)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setDeployed(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
    >
    <Mar 4, 2002 10:54:00 AM CET> <Error> <Management>
    <InvocationTargetException setting attribute Deployed on MBean
    cpsdomain:Location=AdminServer,Name=cps,Type=ApplicationConfig to
    value true. Method: p
    ement.DeploymentException,weblogic.management.UndeploymentException
    Unable to deploy EJB: ClientEJB from cps-ejb.jar:
    javax.ejb.EJBException: <Errors><Error Number="102"
    Type="NoImplementation">java.lang.ClassCastException:
    com.amadeus.ocg.cps.core.ClientBean_1ng6lu_LocalHomeImpl</Error></Errors>
    at com.amadeus.ocg.cps.csx.CSXToCPSConversionBean.setMessageDrivenContext(CSXToCPSConversionBean.java:82)
    at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:303)
    at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:115)
    at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:191)
    at weblogic.ejb20.pool.Pool.onAfterDeploy(Pool.java:172)
    at weblogic.ejb20.deployer.Deployer.runAfterDeploymentListeners(Deployer.java:1317)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:244)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:359)
    at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:293)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1334)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:844)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:385)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setDeployed(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1021)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:244)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:359)
    at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:293)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1334)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:844)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:385)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setDeployed(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
    >
    weblogic.management.DistributedManagementException: Distributed
    Management [1 exceptions]
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:436)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setDeployed(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationError - with nested
    exception:
    [weblogic.management.DistributedManagementException: Distributed
    Management [1 exceptions]]
    at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:850)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Portlet config disappearing when redeploying

    We have a portlet that is only to be configured by administrators (in the edit defaults page). We load the config with:
    PortletRendererUtil.getEditDefaultData(request);
    and store them with:
    PortletRendererUtil.submitEditData(request, data);
    If we restart the server, the config is still accessible. But if we redeploy the application the config is lost. How can we avoid this?
    Regards, Anders Åberg.

    You are probably using af filebased preference store. Use a database preference store instead.
    The filebased preference store is by default stored in a subdirectory of the webapplication directory, so when you redeploy the preferencestore directory is deleted along with the application.
    (I believe theres a way to make the filebased preferencestore use another folder than the default one but i havent got the details)

  • When redeploying a servlet, still get old version

    Hi,
    I'm new to servlets, and am having troubling redeploying it.
    I'm trying to modify a servlet using Sun ONE Studio 4, update 1,
    EE with Tomcat 4.0.1
    I make a change to the .java file (it's in WEB-INF/classes), recompile it and then deploy again.
    This causes Tomcat to stop and then start again. But in my browser
    I still get the old version of the servlet. I can't figure out how to see the new, modified version of the servlet.
    Please tell me what I'm doing wrong.
    Thanks,
    Zebulah

    Before u redeploing, u need to refresh the file. It is in the toolbar`s tool. I think U can find the refresh files at there.

  • App server 9 errors when redeploying application

    whenever restarting the app server 9 or redploying an application, i get the following error. the application works fine sometimes, but i also sometimes get really wierd logged errors in server log:
    WEB0100: Loading web module [SPNReports] in virtual server [server] at [/SPNReports]
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
            at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1740)
            at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1023)
            at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:423)
            at org.apache.catalina.session.StandardManager.load(StandardManager.java:350)
            at org.apache.catalina.session.StandardManager.start(StandardManager.java:720)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
            at org.apache.catalina.startup.Embedded.start(Embedded.java:920)
            at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)
            at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)
            at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72)
            at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60)
            at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
            at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
            at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
            at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
            at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateAppLoaderEntryContext(ServerEntryHelper.java:47)
            at com.sun.enterprise.server.AbstractLoader.generateEntryContext(AbstractLoader.java:831)
            at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:837)
            at com.sun.enterprise.server.DummyWebModuleLoader.load(DummyWebModuleLoader.java:62)
            at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
            at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:201)
            at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
            at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
            at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
            at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
            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:585)
            at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
    Caused by: java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
            at java.util.Vector.writeObject(Vector.java:1018)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
            at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1853)
            at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1040)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:580)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:505)
            at org.apache.catalina.session.StandardManager.stop(StandardManager.java:750)
            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4876)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1149)
            at com.sun.enterprise.web.VirtualServer.stop(VirtualServer.java:321)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1149)
            at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:525)
            at org.apache.catalina.startup.Embedded.stop(Embedded.java:962)
            at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:861)
            at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:746)
            at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:83)
            at com.sun.enterprise.server.ondemand.ServiceGroup.stopLifecycleServices(ServiceGroup.java:286)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.stop(WebServiceGroup.java:218)
            at com.sun.enterprise.server.ondemand.ServiceGroup.stopChildren(ServiceGroup.java:232)
            at com.sun.enterprise.server.ondemand.MainServiceGroup.stop(MainServiceGroup.java:51)
            at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:125)
            at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:62)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1481)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1470)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
            at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:108)
            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:585)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
            at sun.rmi.transport.Transport$1.run(Transport.java:153)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
            at java.lang.Thread.run(Thread.java:595)
    Exception loading sessions from persistent storage
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
            at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1740)
            at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1023)
            at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:423)
            at org.apache.catalina.session.StandardManager.load(StandardManager.java:350)
            at org.apache.catalina.session.StandardManager.start(StandardManager.java:720)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
            at org.apache.catalina.startup.Embedded.start(Embedded.java:920)
            at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)
            at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)
            at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72)
            at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60)
            at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
            at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
            at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
            at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
            at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateAppLoaderEntryContext(ServerEntryHelper.java:47)
            at com.sun.enterprise.server.AbstractLoader.generateEntryContext(AbstractLoader.java:831)
            at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:837)
            at com.sun.enterprise.server.DummyWebModuleLoader.load(DummyWebModuleLoader.java:62)
            at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
            at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:201)
            at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
            at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
            at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
            at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
            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:585)
            at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
    Caused by: java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
            at java.util.Vector.writeObject(Vector.java:1018)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
            at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1853)
            at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1040)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:580)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:505)
            at org.apache.catalina.session.StandardManager.stop(StandardManager.java:750)
            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4876)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1149)
            at com.sun.enterprise.web.VirtualServer.stop(VirtualServer.java:321)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1149)
            at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:525)
            at org.apache.catalina.startup.Embedded.stop(Embedded.java:962)
            at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:861)
            at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:746)
            at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:83)
            at com.sun.enterprise.server.ondemand.ServiceGroup.stopLifecycleServices(ServiceGroup.java:286)
            at com.sun.enterprise.server.ondemand.WebServiceGroup.stop(WebServiceGroup.java:218)
            at com.sun.enterprise.server.ondemand.ServiceGroup.stopChildren(ServiceGroup.java:232)
            at com.sun.enterprise.server.ondemand.MainServiceGroup.stop(MainServiceGroup.java:51)
            at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:125)
            at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:62)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1481)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1470)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
            at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:108)
            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:585)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
            at sun.rmi.transport.Transport$1.run(Transport.java:153)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
            at java.lang.Thread.run(Thread.java:595)
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/SPNReports'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/SPNReports'
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/SPNLiveBeta3'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/SPNLiveBeta3'
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    About to load the system app: __JWSappclients
    WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
    SMGT0007: Self Management Rules service is enabled
    Application server startup complete.
    any words of wisdom?
    thanks a bunch

    YOU may have to edit your domain.xml in your domains/domain1 in config directory. Only if you know about xml. If you ever have to uninstall and install the server again, make sure you always copy your domain.xml somewhere. YOu can always copy it back if something goes wrong. I made some settings within my admin console. The server won't start. After some time, I opened my domain.xml and edited it. It started again. So it is worth knowing something about xml.
    eve

  • Destroy() on redeploy (WLS6.1)

    Hi,
              I already read in this newsgroup than WLS6.0 had a problem with calling
              a servlet's destroy() method on a graceful shutdown - so I am glad this
              is now working in WLS6.1.
              However there is a strange effect when I redeploy an enterprise archive
              which contains a web app.
              After the first re-deployment (the enterprise archive is already
              deployed when the server is started), nothing happens.
              After each sequential redeployment, first destroy and then init is
              called, how you would expect it. does anyone else have the same problem?
              The exact event-log looks like this
              server starts
              servlet.init() (Servlet does load-on-startup)
              redeploy
              servlet.destroy()
              servlet.init()
              redeploy
              servlet.destroy()
              servlet.init()
              shutdown request with admin console
              servlet.destroy()
              Strange ...
              Andreas Ebbert
              

    That looks correct to me. When redeploy occurs, the old servlet is destroyed
              and the new is initialized.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              << Tangosol Server: How Weblogic applications are customized >>
              << Download now from http://www.tangosol.com/download.jsp >>
              "Andreas Ebbert" <[email protected]> wrote in message
              news:[email protected]...
              > Hi,
              >
              > I already read in this newsgroup than WLS6.0 had a problem with calling
              > a servlet's destroy() method on a graceful shutdown - so I am glad this
              > is now working in WLS6.1.
              >
              > However there is a strange effect when I redeploy an enterprise archive
              > which contains a web app.
              >
              > After the first re-deployment (the enterprise archive is already
              > deployed when the server is started), nothing happens.
              >
              > After each sequential redeployment, first destroy and then init is
              > called, how you would expect it. does anyone else have the same problem?
              > The exact event-log looks like this
              >
              > server starts
              > servlet.init() (Servlet does load-on-startup)
              > redeploy
              > servlet.destroy()
              > servlet.init()
              > redeploy
              > servlet.destroy()
              > servlet.init()
              > ...
              > shutdown request with admin console
              > servlet.destroy()
              >
              > Strange ...
              > Andreas Ebbert
              >
              

  • Redeploying war files WL 7.0

    When a war file is updated and uploaded this error occurs when redeploying
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Start server side stack trace:
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:697)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:576)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1064)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
    Despite destroying the old war file to deploy this new one .Only when the server
    is restarted does the deployment work .
    please help
    Sandra

    When a war file is updated and uploaded this error occurs when redeploying
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Start server side stack trace:
    weblogic.management.ApplicationException: Prepare failed. Task Id = 10
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:697)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:576)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1064)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    Module Name: emi.war, Error: weblogic.j2ee.DeploymentException: Cannot deploy
    ServletContext(id=87601,name=emi.war,context-path=/emi) from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war
    on prod-ms-a-1 because there is already a webapp named ServletContext(id=3674494,name=emi.war,context-path=/emi)
    loaded from /ec/prod/server/weblogic/projects/prod/prod-ms-a-1/stage/emi-all-1.9p5/emi.war,
    which is using the context path /emi.
    Despite destroying the old war file to deploy this new one .Only when the server
    is restarted does the deployment work .
    please help
    Sandra

  • How to preserve some files inside application directory after a Redeploy?

    Hi, all.
    My application (recently refactored to run from JServ to OC4J) have an Upload procedure that puts a file inside the context from wich the Upload.jsp is being called. I.e, www.xyz.com/app_name/upload.jsp when called puts a file inside $ORACLE_HOME\j2ee\OC4J_xxx\applications\blaff\uploaded_files (blaff is the directory that contains the Upload.jsp file).
    Now, we have about 30MB inside uploaded_files directory and a problem: when redeploying the application, the "blaff" directory is removed and all uploaded files are lost.
    There is a way to "preserve" these files? The other issue is related to big quantity of application images, pdf's and Xls's: about 40MB!!! My final EAR file is about 60MB, and it's difficult to transmit it from developer's machine to the server's machine through a VPN.
    Can somebody help me with this issue?
    Thanks!

    You can use getClass().getResource(classpath)
    to get a stream version of the data from your
    jar file. If you need to put it in a file, you
    can write that stream to a file in a temp directory.
    classpath is the classpath of your js file

  • OSB Project redeployment, Proxy endpoint uri not changed

    Hi,
    We have a problem when redeploying a OSB project with a new proxy Endpoint URI. When we deploy the changed project, through the OSB console Administration->Import, the OSB deployes successfully but still works with the old EndPoint URI ?
    On the disk at <domain_home>/osb/config/core/<project>/PollXYZ.proxy.xml we can see that the old EndPoint URI is still present even though all files have a new modified date. When we try change another property, like "all-headers" the changes are reflected sucessfully when redeployed. So it is only the EndPoint URI that is somehow not changeable?
    Any ideas?
    TIA

    No. url is changeable and it works perfectly fine for us. Are you sure the jar which you are deploying has the latest url for sure.
    P.S: Post OSB related queries in SOA Suite forum:
    SOA Suite

  • WL SP4 jsp compilation bug? - redeployment

    Last week I've upgraded WebLogic from SP2 to SP4. Since then after each application redeploy i'm getting jsp compilation error.<br><br>
              The only solution I've found is to restart the cluster. Then it works fine until next redeployment.<br><br>
              It looks like WebLogic couldn't find some libraries. Maybe it is problem with ClassLoader.<br><br>
              Did you encounter any behaviour like this? Is it some kind of WebLogic SP4 bug?<br><br>
              <br>
              ####<Apr 11, 2005 6:29:25 PM CEST> <Error> <HTTP> <K2DA002> <man1ITG20> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=8986766,name=plans,context-path=/plans)] Root cause of ServletException.
              java.lang.Throwable: Failed to compile JSP /login/remotelogin.jsp<html><br>
              <head><br>
              <title>Javelin JSP compilation error</title><br>
              </head><br>
              <body><br>
              <br>
              <b>Compilation of JSP File '/login/remotelogin.jsp' <font color=#FF0000>failed</font>:</b><HR><br>
              <pre><br>
              Errors found in <br>man1ITG20/stage/integration/TD/login/remotelogin.jsp:
              Error at line 17 column 1:<br>
              Description: Package org.apache contains no member package or type of this name.
              <br>
              Error at line 17 column 1:
              Description: Package org.apache contains no member package or type of this name.
              <br>
              Error at line 55 column 2:
              Description: Package org.apache contains no member package or type of this name.
              <br>
              Error at line 56 column 4:
              Description: Package org.apache contains no member package or type of this name.
              <br>
              Found 4 error(s) and 0 warning(s).
              <br>
              </pre><br>
              </body></html><br>
              <br>
                   at weblogic.servlet.jsp.WlwJspStub.compilePage(WlwJspStub.java:207)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:223)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I've a similiar problem when redeploying apps on WL SP4/Jrockit JVM on Linux. The redeploy results in a NoClassDefFound error, while a fresh deployment works fine. Two points to note here:
              - The domain is on a NFS mounted drive - The redeploy works fine if the domain is on a local disk.
              - The redeploy works fine if I use the bundled JDK142_05
              Here's the exception -
              --------------- nested within: ------------------
              weblogic.management.ManagementException: - with nested exception:
              [java.lang.NoClassDefFoundError: com/mypackage/common/util/LoggerBase]
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2396)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic
              .management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.managem
              ent.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:2
              5)
              at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
              at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
              >

  • Redeploying an EJB

    Hi,
    how does it happen, when redeploying an EJB in a running application. What
    does happen with the currently running requests? Are they handled by the old
    or the new version of the EJB?
    Thanks,
    Marita

    Hi clytle,
    I have problem about EJB,maybe you can
    help me.I use JDeveloper 3.0 to developer EJB
    and deploy it to OAS 4.0.8.1 successful. But
    the error message(show at below) always occur
    when I run the EJB client program eyerytime.
    I have no idea about this.Could you have any
    suggestion or solution about this? Have anyone else can help me?
    james 2000/6/30
    The error message :
    Root exception is org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No]javax.naming.ServiceUnavailableException
    java.lang.Object oracle.oas.jndi.oas.SecCosNamingContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.WrapperContext.lookup(javax.naming.Name)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void SimpleEJB.SimpleEJBClient.main(java.lang.String[])
    null

  • EPMA REDEPLOY

    Hi, I've a HFM application in EPMA, when I redeploy the app there are many sections that are not recognized and as a consecuence that impacts in the consolidation method dimension deleting all members. This only happens when I don't select "Clear all metadata and data" option.
    Hope somebody could help me!!!
    Regards!!

    A deploy is really for first time deployment where the database tables are created, application registered in shared services, application created in Essbase, also you don't have the full deploy option which is for when redeploying.
    Have a read of the following for more information - Deploying Planning Applications
    Cheers
    John

  • Redeploying EAR in OC4J

    Hi, I have an installation of Oracle's Business Intelligence Analytics ( formerly Siebel Analytics ) and I am following an oracle note to patch the application the redeploy it through OC4J. OC4J standalone comes bundled with the BI analytics.
    The application is currently deployed as an EAR file ( analytics.ear ) in $OBIEE_HOME/oc4j_bi/j2ee/home/applications and indeed within OC4J you can see that the analytics application is pointing to this EAR file.
    Another directory $OBIEE_HOME/web holds an identical copy of this EAR file and it is this source directory that the patch changes. You are then asked to recreate the EAR file using
    jar –cf analytics.ear –C app .
    The copy the EAR file into $OBIEE_HOME/oc4j_bi/j2ee/home/applications for redeploying
    Q1. Since the EAR filename will not have changed from the original, do I actually need to go through the process of redeploying within OC4J or will it automatically do this when the OC4J is stopped / started ?
    When I do actually try a redeploy, the Web Module name and the Context root are different from the original ( the port number is the same )
    i.e. the Module name comes up as analytics.ear.war when it was previously analytics, the Context root comes up as /analytics.ear when it previously was simply /analytics
    During the re-deploy the Web Module Name is not editable.
    Q2. Where is this module name set - can it be changed ?
    When redeploying, OC4J shows the application as up and running, however when I try the original url ( http://inibidev:9704/analytics/saw.dll?Answers ) to access the application I simply get Web Page cannot be found
    Q3. Is this due to the differences in my Web Module Name and Context root ?
    any help appreciated,
    Jim

    Ans1: Yes you have to redploy this EAR file again.
    Ans2: Now you have to use new context URL and module name
    Ans3: Yes

  • Keep shared=true after redeploy

    Hi,
    I have a secure web site. In my production environment I need to set shared=true for my web-app(s) in the secure-web-site.xml configuration file (\j2ee\home\config). I noticed that every time I redeploy the EAR, I need to add again the shared attribute for my application in the xml file. Of course a restart of the application server is next necessary.
    Is there any way to make this configuration permanent (deployment descriptor or system level setting)? Is there any way to set the shared setting from the Enterprise Manager console?
    Thank you for the attention,
    Alex

    Hi again,
    After reading some additional information, namely:
    Oracle® Containers for J2EE / Configuration and Administration Guide / 10g Release 3 (10.1.3) / Part No. B14432-01
    How to Share HTTP and HTTPS Session [ID 401545.1]
    Session Information Of All Applications Are Lost When Redeploying With Dcmctl Command [ID 273230.1]
    I guess the answer is evident. To quote ID 401545.1:
    "Please take note this capability cannot be enabled from deployments descriptors (in the ear or war file) and it cannot be set using the AS Console."
    I have written that I need shared=true but in fact I only need it because otherwise my SSL session breaks too often (and doesn't respect the timeout interval)!
    Playing around with the shared attribute is the only remedy I have found so far. I haven't done a review of each packet that is transmitted but according to the SSL debug log everything seems fine. What I understood from the documentation was that some browsers threat sessions in different manner and sometimes they start a new session before the timeout.
    My tests with Firefox and Internet Explorer both fail in keeping a SSL session running normally. I don't know if there is a special setting for this in the browser and I couldn't catch a fixed interval for session expiration. My deployment description is fixed to 15-30 minutes but sometimes a session will timeout in a minute or two.
    Does anybody have had a problem with SSL session timeout on Oracle AS 10.1.3 ?

Maybe you are looking for