Deploying an app...
I am currenly researching ways to deploy a large java application. It has a large directory structure and many resources (.xml, .html, .jpg, etc). All class files are put into a .jar file. An install shield will install the app on Windows machines (mostly NT).
My question is: How do I deploy it without having to ship JDK1.3 (for example) too? Can I just somehow install the JRE with the app? I'm assuming that all hosts will have some type of JVM.
Any comments or suggestions would help greatly.
Thanks in advance!
When you say "an install shield" do you mean an install program generated by InstallShield software? The answer to your question is that you need to ensure that an appropriate JRE (not JDK) is installed on your target machine. There are installers (including some made by InstallShield, I believe) that will take care of that for you.
Similar Messages
-
Getting the BEA-101163 error while deploying the app on the server.
I am getting the deployment error <Could not load user defined listener: java.lang.ClassNotFoundException: > while deploying the app on the weblogic 10.3.3 server.
Please find the stack trace below :
####<Aug 18, 2010 2:56:43 PM UTC> <Error> <HTTP> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
Kernel>> <> <> <1282143403578> <BEA-101163> <Could not load user defined listener:
java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'>
<<WLS Kernel>> <> <> <1282143403640> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282143360031' for task '2'. Error is:
'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
<<WLS Kernel>> <> <> <1282143403734> <BEA-149004> <Failures were detected while initiating deploy task for application 'AOS'.>
####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
<<WLS Kernel>> <> <> <1282143403734> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Console> <ss> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'>
<weblogic> <> <> <1282143403781> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
>Did you fix this issue ? If yes .Can you please share the steps
-
Dear colleagues,
I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
Operation failed with error:
******************** FIRST ERROR (SOLVED)********************************************
Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
Dependent class: amaos.model.common.AmaosModule
Loader: amaos.root:0.0.1
Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
(Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
The missing class is available from the following locations:
1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
Any ideas?
Thanks
Message was edited by:
BenalúaBenalua,
(sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
John -
Can't deploy my app on Sun Java System Application Server Platform Edition
Hi,
I am trying to deploy me app on the Sun's app server but I get the following error:
I am using Sun Java System Application Server Platform Edition 8.2
Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
Line 29 Column 15 -- The content of element type "session" must match
"(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
The ejb.xml file is as follows:
<enterprise-beans>
<session>
<display-name>Facade stateless session bean</display-name>
<ejb-name>ejb/PetardsFacade</ejb-name>
<home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
<remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
<local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
<ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<res-ref-name>jdbc/OracleDSRES</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<env-entry>
<env-entry-name>DSName</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>jdbc/OracleDSRES</env-entry-value>
</env-entry>
</session>
</enterprise-beans>also, in the error message what does ? and * signify?
ThanksThis is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
--ken -
How coud i do to deploy a app to the website that shiped by j2ee sdk
i want deploy a app to the website that shiped by j2ee sdk.
i found the "conf" folder under the J2EE_HOME.but the website is have nothing with the file "server.xml" in this folder.
how could i do?
thxThe J2EE 1.4 Tutorial describes how to deploy applications:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html -
Deploying an app from export script stored in the database.
I am in the situation where I want to deploy a copy of an application programatically into the current workspace, but each against a separate schema. The end game would be to have many copies of the same App in the same workspace (obviously with different application numbers assigned) but each app pointing to a different schema.
The workflow would be something like this:
<ol>
<li>Create a new tablespace for the new schema</li>
<li>Create the new Schema</li>
<li>create the required objects in the new schema (we're going to use DataPump for that)
</li>
<li>Assign the schema to the current workspace (make it available to use for a new APP)</li>
<li>Read the app.sql from a BLOB in the database and deploy it into the current workspace pointed to the new schema.</li>
</ol>
I was wondering if there are already API's in place that would help me do these things (especially steps 4 and 5).
I started poking around in the ApEx internals, looking specifically at the deployment of the SAMPLE apps to see if there was anything I could use, but it looks like the WWV_FLOW_SAMPLE_APP package is wrapped so I can't see what it's doing.
I also looked at the code behind the "COPY APPLICATION" function and it looks like I might be able to use wwv_flow_imp_parser.parse to install the application in the current schema, but would probably need some clarification on whether there are any "gotchas" there.
If that works, then it seems the hard part is assigning the new schema to the workspace as normally that is done from within the INTERNAL user's workspace.
Thanks in advance for the help.
DougOk... For others who may be interested in this, I have figured out part of the answer...
To complete steps 2 and 4 mentioned in my original messages (Creating the user and makeing it available to a workspace) here is what I've come up with.
DECLARE
l_username varchar2(256);
l_password varchar2(256);
l_df_ts varchar2(256);
l_tmp_ts varchar2(256);
l_PCID number;
l_workspace_name varchar2(255);
BEGIN
l_username := 'DOUG';
l_password := 'DOUG';
l_df_ts := 'USERS';
l_tmp_ts := 'TEMP';
l_workspace_name := 'HAAS';
-- CREATE THE USER AND THEN ADD THAT USER TO THE CORRECT WORKSPACE.
-- First make sure that
-- 1. The name you're trying to create is not a "reserved" name like INTERNAL
-- 2. We're not working in an installation that is "RUNTIME ONLY"
-- 3. We're not working with a schema that is already in place or restricted.
IF flows_030100.wwv_flow_provisioning.reserved_schema(p_schema => l_username) = false
and not (flows_030100.wwv_flow_provisioning.site_admin_is_restricted
and
flows_030100.wwv_flow_provisioning.restricted_schema(p_schema => l_username, p_workspace_name => l_worlkspace_name)
THEN
-- CREATE THE USER
flows_030100.wwv_flow_provision.create_user(
p_username => l_username,
p_password => l_password);
-- ASSIGN THE TABLESPACEs
flows_030100.wwv_flow_provision.set_user_tablespace(
p_username => l_username,
p_default_ts => l_df_ts,
p_temp_ts => l_tmp_ts);
-- Grant the appropriate roles and privs to the user
flows_030100.wwv_flow_provision.grant_initial_privs(l_username);
-- Create the link between the workspace and the schema name.
BEGIN
-- FIRST get the Workspace ID (known as the PROVISIONING_COMPANY_ID) from the APEX Dictionary.
-- This assumes that the workspace we're working in is HAAS
select provisioning_company_id
into l_PCID
from flows_030100.wwv_flow_companies
where short_name = l_workspace_name;
-- Now insert a row into the company_schema table to line the schema to a workspace.
insert into flows_030100.wwv_flow_company_schemas (security_group_id, schema)
values (l_pcid, upper(l_username));
commit;
EXCEPTION
WHEN NO_DATA_FOUND then
--IF things fail then we need to kill to drop the user that we created.
flows_030100.wwv_flow_provision.drop_user(p_username => l_username);
--Then rais the application error or do whatever...
raise_application_error(-20100,'Trying to use an invalid worksapce - '|| l_workspace_name);
END;
end if;
end;I'm still trying to work on deploying the APP stored in a BLOB to the workspace and so far have the following code, but get the message :
ORA-20001: You do not have privs on the DAVID schema.
ORA-06512: at "FLOWS_030100.WWV_FLOW_IMP_PARSER", line 1599
ORA-06512: at line 29
declare
l_file_id number := 2113831202674379;
l_parse_as_schema varchar2(4000) := 'DAVID';
l_new_ap_ID number;
l_orig_ap_id number;
l_workspace_name varchar2(255) := 'HAAS';
l_PCID number;
begin
execute immediate 'alter session set current_schema = FLOWS_030100';
flows_030100.wwv_flow_security.g_security_group_id := 10;
flows_030100.wwv_flow_security.g_user := 'ADMIN';
-- Import copy from application with new application ID and name
-- First get the new Application ID
l_new_ap_id := flows_030100.wwv_flow_utilities.minimum_free_flow;
BEGIN
select flow_id
into l_orig_ap_id
from flows_FILES.wwv_flow_file_objects$
where id = l_file_id;
end;
flows_030100.wwv_flow_imp_parser.parse (
p_file_id => l_file_id,
p_parse_as_schema => l_parse_as_schema,
p_install_as_flow => l_new_ap_id,
p_original_flow_id => l_orig_ap_id,
p_adjust_offset => TRUE
-- Get the Security group ID
select provisioning_company_id
into l_PCID
from flows_030100.wwv_flow_companies
where short_name = l_workspace_name;
-- reset name with new application name
update flows_030100.wwv_flows
set name = 'TEST_NAME'
where id = l_new_ap_id
and security_group_id = l_PCID;
end; -
hi all,
i have deployed a web application(war file) in UCM using the JSP Web App Administration Page. I need the url to access it. Please help.
Also if i want to use webdav to replace the jsps inside the web app, how do i do it? As far as i know the webdav url checks out folders and since i checked in a war file i am able to view that. how do i replace the jsp file in the deployed web app? Please suggest.
Thanks and Regards,
nithyaCheck this out: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10807/c06_integration.htm#i1084683
-
Is your organization building and deploying J2EE apps? If so, Halo
can help solve one of the toughest issues facing enterprises today:
Finding the root cause of software faults.
"Halo monitors, pinpoints, reports on and provides a source-code level
root cause of software faults in deployed J2EE apps. Halo is unique
because it's the only technology that can give you a root cause
diagnosis in a fully deployed, live production application. Halo has
such low performance overhead that customers deploy their final,
production versions of their applications with Halo enabled.
Used with Web Application Servers like WebLogic, Halo helps ensure
that deployed code is reliable and able to be quickly fixed if
problems turn up. Most important, because Halo is an "always on"
technology, you get all the information you need to rapidly solve a
problem on the first fault. Problem replication and bug reports are
obsolete with Halo
"Halo has a unique ability to provide a root cause diagonosis and
understanding
of software problems in production systems, without needing to
replicate the
issue.
Test on WebLogic proved that Halo runs with extremely low overhead and
is suitable for use in deployed production systems"
Andrew Sliwkowski, Software Engineer
BEA Systems, Inc.
The key is Halo's high performance, low overhead TraceBack
instrumentation technology. Based on technology out of MIT and proven
in the field, TraceBack enables you to instrument JARs, EARs and WARs
within minutes, without touching source code.
Halo is useful throughout the entire application life cycle, from
development through test, beta and deployment.
If you have interest in learning more visit our website at
www.incer.com or email me directly at [email protected] (Rick Martin)I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
Also, you will othe OC4J docs on OTN.
Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
Any help would be greatly appreciated. Thanks in advance. -
The content database on the server is temporarily unavailable while deploying a app
HI,
I got the following error while deploying a app. I have not added any logic in App.
What i have tried yet:
1. Configured Server for Using App
2. Added permission to user2 (app developer account by which i open VS 2012) as mentioned in following URL
http://community.zevenseas.com/Blogs/Akhilesh/Lists/Posts/Post.aspx?ID=10
Please let me know if anyone have faced and resolved it before....
Here we go .............................
Active Deployment Configuration: Deploy App for SharePoint
Skipping deployment step because a pre-deployment command is not specified.
Skipping the uninstall step because the app for SharePoint is not installed on the server.
Install app for SharePoint:
Uploading the app for SharePoint...
Installation is in progress (00:00:00)
Installation is in progress (00:00:01)
Installation is in progress (00:00:02)
Installation is in progress (00:00:03)
Installation is in progress (00:00:04)
Installation is in progress (00:00:05)
App failed to install, cleaning up...
App installation cleanup failed due to errors. Please see the app on the SharePoint site’s “Site Contents” page for details.
App installation encountered the following errors:
11/19/2013 2:42:13 PM
@"Error 1
CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
ErrorDetail: The content database on the server is temporarily unavailable.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
at Microsoft.SharePoint.Administration.SPDeveloperData.AddToDraftApps(Guid appInstanceId)
at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Deploy()
at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
Source: Finalization
SourceName: App Deployment Finalization
@"Error 2
CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
ErrorDetail: The content database on the server is temporarily unavailable.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
at Microsoft.SharePoint.Administration.SPDeveloperData.RemoveFromDraftApps(SPSite site, Guid appInstanceId)
at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Rollback()
at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
Source: Finalization
SourceName: App Deployment Finalization
Harshno ,it does has db permissions , this whole thing I think is related with weird and strange new condition of havinng sub-domains for apps ? by some changes I found it gos to my website and find outs that no resource available there , sometime 404 sometimes
502 error.
The whole idea of office team about app deployment is crazy , no proper documentation or knowledge base available for people using on-prem sharepoint, this may because of the idea using cloud more ,why should we use cloud for our enterprise data ?
btw links you gave not working either
Tech Learner -
As I mentioned in subject, I am just wondering Whether the java component (Not
ejb, not servlet) can be deployed in App Server and get the services provided
by App Server or not?Nevermind folks - I got it to work. All my configuration was correct; I had other issues with the ejb-jar file that the verifier informed me of (my previous deployments were with the verifier turned-off).
-
Init always runs twice in startup of deployed web app
i have a problem where I load a servlet upon startup using the <load-on-startup>1</load-on-startup> in the web.xml .. it always runs the init method twice.. this is problematic for me. when i deploy my app as a WAR, it always does this.. but if i don't deploy and just run it off docroot, it only runs it once.... what is going on here?
Did you ever get this resolved? I am having the same problem and cannot find the answer.
-
(Re)Deploying web apps under [/] on SJSAS PE8
I need some help on deploying web app under root []of the default virtual server.
The problem is when specifying "Default Web Module" for the virtual servers I guess...
How can I use asadmin or Ant task to deploy a directory under / ?
Is it possible to use asadmin to specify virtual server's "Default Web Module" without restarting it.
The optimal goal is to have ability to deploy/redeploy/undeploy a web app under / via ant task without restarting the domain itself....
How can I accomplish this under SJSAS PE8?
Any help on this topic is appreciated...You may want to look at the responses in this thread:
http://forum.java.sun.com/thread.jsp?forum=136&thread=529445&tstart=0&trange=50
This thread may also be helpful:
http://forum.java.sun.com/thread.jsp?forum=136&thread=526094&tstart=0&trange=15
Note:
If the "redirect" that happens when you try to access the "docroot" of the admin instance is acceptable behavior, you may want to look at the differences between the 'server' and __asadmin Virtual Server.
While you can do that with any text editor, I would suggest that you use the admin console app to do this.
By deleting the docroot property and setting the default web module property you may be able to get the behavior you want.
You will have to deploy the web app, with a context-root that is NOT / and restart the app server.
You should be able to redeploy your web app "normally" after that, though.... -
Understanding Workspaces, Deploying new Apps and Upgrades
Hi all,
I'm learning Oracle Apex, and finished some OBEs about it. I'm very excited about the platform, and liking very much. But a lot of questions come to my mind.
If I understood it, a Workspace, is a "place" to develop some apps, and encapsule it, and from this workspace, I can export an app to deploy on another server, but, I don't see any options about what tables need to be exported.
In one workspace/schema, I can have more than one app, and I don't see where you define wich tables belongs to each app.
I don't see either, how an upgrade works. If I have deployed an app on a customer, and I need to upgrade it, upgrade of the database, without losing data is automatically?
Another thing I don't understad very well, is about runtime installation.
In Learn more Page,Security -> http://apex.oracle.com/pls/otn/f?p=4600:42:0::NO::: , I can read:
For testing and production instances, Oracle Application Express supports the ability to install just a runtime version. This minimizes the installed footprint and privileges. It also improves your application consistency because in a runtime instance developers cannot inadvertently update any application source.
I understand correctly, thath this means I can't modify a deployed app, but I can upgrade it?
Regards.
Edited by: GiuseppeL on 26-dic-2012 12:22
Edited by: GiuseppeL on 26-dic-2012 12:23GiuseppeL wrote:
If I understood it, a Workspace, is a "place" to develop some apps, and encapsule it, and from this workspace, I can export an app to deploy on another server, but, I don't see any options about what tables need to be exported.Tables and database objects all have to be handled separately from the application. If you look at the SQL workshop in the Apex builder there are some tools to do the database object exports.
In one workspace/schema, I can have more than one app, and I don't see where you define wich tables belongs to each app.You can have one or more schemas per workspace. And an application can use whatever schemas are available to the workspace or whatever schemas the workspace schema has been granted to through database grants.
I don't see either, how an upgrade works. If I have deployed an app on a customer, and I need to upgrade it, upgrade of the database, without losing data is automatically?Application exports can be completely (most of the time) independent of the data and database objects. If you change the structure of your database objects with your application upgrade then you need to upgrade the database objects in order for the application to work. Whatever application features depend on the database changes will not work.
Another thing I don't understad very well, is about runtime installation.Runtime installation basically does not allow any editing of the application definition once it's installed. You need to keep an independent location where you do your application development/modification. Deploying to a runtime application is not reversible, meaning you can't change it to an editable application once you've set it as runtime only.
Earl -
Error deploying ADF App (Fusion Web Application) to JBOSS 7.1.1.Final
When i'm deploying ADF App in JBOSS 7.1.1.Final AppServer it gives me the following in JDeveloper 11g release 2 (11.1.2.2.0):
[02:53:17 PM] Target platform is (JBoss 5.x).
[02:53:17 PM] Running dependency analysis...
[02:53:17 PM] Building...
[02:53:17 PM] Deploying profile...
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Runtime
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Schema
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Page Flow Runtime
[02:53:18 PM] Wrote Web Application Module to C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war
[02:54:48 PM] Copied C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war to //10.10.1.11/jboss-as-7.1.1.Final/standalone/deployments/ola_ViewController_webapp.war
[02:54:48 PM] Elapsed time for deployment: 1 minute, 30 seconds
[02:54:48 PM] ---- Deployment finished. ----
On the JBoss side it gives me the stack error: [http://justpaste.it/zom]
I can´t understand what's missing.
Thanks in advance.Ok finally i've done it...it deployed with no errors.
But now when i look it in my browser it just shows me:
<?xml version='1.0' encoding='windows-1252'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center"/>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
Now i'm out of ideas. -
WLST script to deploy an app to a cluster?
Hi,
I'm using WL 9.2.2. Does anyone have a script that deploys an app, "myApp" to a cluster "myCluster"?
Seems like a simple thing, but I'm hitting a wall when trying to search on Google. - DaveDave, try my old blog:
http://blogs.oracle.com/jamesbayer/2007/10/automate_wls_console_tasks_wit.html
Instead of the target being the admin server for the deploy command, it could be "myCluster".
Also, for trying to get the syntax, you could also use server 10.0 or 10.3 and use the "Record" feature in the console. That syntax should be mostly backward compatible with 9.2 for main use cases. -
I can't deploy my APP,and problem showed in the error.log is:
Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:625)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
Any ideas what I can do?Markus Hammori,thank you.
But now, I can't find out the very problem, and the J2EE's output is:
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB
;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@4d7745
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.
Warning, binary temp directory already exists, cleaning...
Compiling c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_LocalHo
meImpl.java ....
Compiling c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLoca
lObjectImpl.java ....
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_LocalHomeImpl.jav
a:1: ConverterEJB_LocalHomeImpl should be declared abstract; it does not define
remove(javax.ejb.Handle) in ConverterEJB_LocalHomeImpl
public final class ConverterEJB_LocalHomeImpl extends com.sun.ejb.containers.EJB
LocalHomeImpl implements ConverterHome {
^
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLocalObjectImp
l.java:37: cannot resolve symbol
symbol : method remove (java.lang.Object)
location: class ConverterEJB
ejb.remove(param0);
^
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLocalObjectImp
l.java:67: cannot resolve symbol
symbol : method remove (javax.ejb.Handle)
location: class ConverterEJB
ejb.remove(param0);
^
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLocalObjectImp
l.java:98: cannot resolve symbol
symbol : method getEJBMetaData ()
location: class ConverterEJB
$retVal = ejb.getEJBMetaData();
^
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLocalObjectImp
l.java:128: cannot resolve symbol
symbol : method getHomeHandle ()
location: class ConverterEJB
$retVal = ejb.getHomeHandle();
^
c:\java\j2ee\repository\hqq\gnrtrTMP\ConverterApp\ConverterEJB_EJBLocalObjectImp
l.java:158: cannot resolve symbol
symbol : method create ()
location: class ConverterEJB
$retVal = ejb.create();
^
6 errors
Compilation failed ...
Could you tell me how can I deal with it?����!(Thank you!)
Maybe you are looking for
-
Installation of 3.0 EA2 on 12.1.0.2
I've got an existing 12.1.0.2 db (non-pdb), vanilla install, so apex 4.2 within it. I downloaded 3.0 EA2 and ran through the install. When I start it, I see sessions on the database for APEX_LISTENER, ORDS_PUBLIC_USER but when I got to http://myhost:
-
Custom Module Processor.
Hi, Can anyone provide me info along with some code abt how to develop a Custom Module processor.I wud b very thankful if u provide the deployement info even.please help me out as it is very urgent. Thanx
-
Hi all can we assign vendor's bankey key or customer's bank as a Housebank bank'skey if any restrictions for this plz clarify Mant Thanks MvNr
-
Missing Dynamic as an option.
It seems I have deleted my dynamic wallpaper on my iphone5 as "dynamic" is no longer an option under wallpapers and brightness. Is it possible to restore those from somewhere? Nevermind. Have to click on a screen first before that option is availabl
-
I am finding it difficult to locate the backup config files for my controllers on the WCS server. Can someone tell me the file extension and the file folder where these files are saved so I can verify they are getting saved? This seems to be more c