8.1.5 - EAR file fails to Deploy - start() failed
Hello,
I am currently trying to deploy an EAR file I created in Weblogic Workshop on a running 8.1.5 Solaris 8 server that has a set of applications and services deployed on it already.
The domain was not initially created with workshop applications enabled, however I did extend the domain after a few class not found errors seem to indicate that was what I should do.
I have created an EAR and a WAR file containing the same code and deployed each of them successfully on a standalone Solaris 8 machine, on domains either created for workshop or extended for it.
This is the error I am seeing in the console, when I try to deploy on our current set up:
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: NGA_AOI Error: java.lang.ExceptionInInitializerError
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2440)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
No Exception Messages
Any ideas would be appreciated, I have no idea what this is trying to tell me.
Thanks,
Cash
Here is everything I get from stdout/stderr:
Note: The first exception is not related to deployment, but must be something with our currently deployed apps.
<Nov 17, 2006 1:55:11 PM GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_08-b03 from Sun Microsystems Inc.>
<Nov 17, 2006 1:55:12 PM GMT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Nov 17, 2006 1:55:12 PM GMT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic Integration 8.1 SP5 Wed Sep 21 21:56:54 PDT 2005 643163>
<Nov 17, 2006 1:55:12 PM GMT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /h/data/local/I3CMT/data/I3/./config.xml.>
<Nov 17, 2006 1:55:17 PM GMT> <Info> <Management> <BEA-141087> <Property: jspc.skipVersionCheck is not a recognized MBean attribute or special property used for Management. It is probably being used by subsystems and will continue to work as expected if it is a supported option.>
====== InitializeServlet: entering init
==== datadir is /h/data/local/ITSMT/data/
*=*=* Driver name is com.sybase.jdbc2.jdbc.SybDriver
*=*=* Conn URL is jdbc:sybase:Tds:SDS:3000/IMDB?ServiceName=IMDB&BE_AS_JDBC_COMPLIANT_AS_POSSIBLE=true&SELECT_OPENS_CURSOR=true
*** Unable to properly initialize ItsInfo
=== exception is access denied (java.util.PropertyPermission kodo.properties read)
java.security.AccessControlException: access denied (java.util.PropertyPermission kodo.properties read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
at java.lang.System.getProperty(System.java:612)
at com.solarmetric.conf.ConfigurationImpl.loadDefaults(ConfigurationImpl.java:345)
at kodo.jdbc.conf.JDBCConfigurationImpl.<init>(JDBCConfigurationImpl.java:301)
at kodo.jdbc.conf.JDBCConfigurationImpl.<init>(JDBCConfigurationImpl.java:81)
at kodo.jdbc.runtime.JDBCPersistenceManagerFactory.getPersistenceManagerFactory(JDBCPersistenceManagerFactory.java:43)
at gccs.i3.imagery.itsmt.beans.ItsInfo.setPersistenceManager(ItsInfo.java:230)
at gccs.i3.imagery.itsmt.beans.ItsInfo.initializeServers(ItsInfo.java:179)
at gccs.i3.imagery.itsmt.beans.ItsInfo.init(ItsInfo.java:88)
at gccs.i3.imagery.itsmt.beans.ItsInfo.<init>(ItsInfo.java:54)
at gccs.i3.imagery.itsmt.beans.ItsInfo.getInstance(ItsInfo.java:71)
at gccs.i3.imagery.itsmt.servlets.InitializeServlet.init(InitializeServlet.java:108)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1094)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:970)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:949)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:888)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3430)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3375)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3356)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: AOI Error: java.lang.ExceptionInInitializerError
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2440)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: AOI Error: java.lang.ExceptionInInitializerError
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2413)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: AOI Error: java.lang.ExceptionInInitializerError
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2440)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: AOI Error: java.lang.ExceptionInInitializerError
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2413)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Thanks in advance,
Cash
Similar Messages
-
Ear file cant be deployed from eclipse with jboss 3.2.7
I am using eclipse with JBOSS IDE1.5
I want to work with EJB in eclipse. I have created configured all neccessary directory structure , xml files and jar,war,ear files(using XDoclet Configureations).
But i am not able to deploy my "ear" file . At that time i am getiing following message in JBOSS Console.
16:48:41,937 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-3.2.7/server/default/deploy/FiboApp.ear
16:48:42,421 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the <home> element.
Info : Class not found on 'tutorial.interfaces.FiboHome': No ClassLoaders found for: tutorial.interfaces.FiboHome
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote interface, if any, in the <remote> element.
Info : Class not found on 'tutorial.interfaces.Fibo': No ClassLoaders found for: tutorial.interfaces.Fibo
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 7.10.1
Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.
Any suggestions or remarks will be greatly appreciated
Thanks in advance
satheeshAtlast it worked. The problem was that in my ejb-jar.xml I was referring to 2_0.dtd. I have changed that to 2.1 and it worked.
Older ejb-jar.xml had:
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "C:/jboss-4.0.1sp1/docs/dtd/ejb-jar_2_0.dtd">
I changed that to:
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
And it worked.
-Sathish -
EAR file is not deployed on all nodes when using SDM/Visual admin
Hi
We have a High availability portal landscape with multiple App Servers. When we deploy our custom applications (.EAR) using either SDM or Visual Administrator the file always deploys only onto the Central Instance and the end user some times sees blank screen becoz the load balancer routs the request to some other node (non Central Instance).
Any helpful answer will be awarded with points !!
Thanks
LakshmiHi Lakshmi,
Restarting the SAP System should synchronize the components among the application servers.
You can also check if any of the components need to be updated by going to the deployment overview @ System Administation ->Support -> Support Desk-> Portal Runtime -> Deployment Overview
This link might be of help.
http://help.sap.com/saphelp_nw70/helpdata/en/f7/71b842b714b211e10000000a155106/frameset.htm
Regards,
Abhishek -
.ear files are not deployed correctly under multi instances environment
We have 1 CI and 3DI.
In one server there are 1 CI and 1DI.
and in the other 2 servers there is 1 DI each.
I developed a program with Webdynpro Java and deployed correctly.
But after that I could run the application in only the specific server.
For example I could run the applicaion in A,B server but not C server.
What's the problem?Thanks for the reply.
I know it'll be solved after restart.
But it's not easy to restart DI during working hour.
Isn't there any other way to solve this problem? -
Problem while deploying a WLW ear file on a WL81 production server
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]Looks like Raj has responded to this thread in the Workshop newsgroup:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
"Yves Léauté" wrote:
>
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet] -
When deploying an ear file the status is not loaded
I have installed Oracle application server 10g on a Linux CentOS 4.6 server.
When I went to deploy an ear file, it was a success; however, the status in the application at OC4J:home indicates "Not Loaded" and auto start is true. I have searched every where and cannot find the cause of this problem.
The development server on a windows machines works fine when the same file is deplyoed.
Does anyone know what might be the cause. Is there something that I have to configure that I am not aware of?
Any help would be appreciated. Been working on this for two days.
TIA
MikeHi, thanks for the response. I have over 20 EJBs in my ear file. I tried to use the verifier and here is the message that I am getting once I tried to deploy my ear file.
Error
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: account cause: Error parsing J2EE-specific application deployment descriptor: Element type "application" is not declared.
I checked my application.xml and it looks fine to me. please help. -
Applied Workaround for BUG:5871305, unable to deploy ear file
Hi,
I have upgraded Oracle 10g AS from 10.1.3.1 to 10.1.3.3.I am using admin_client.jar to deploy the ear file. After deployment, application gave error during start. The errors were related to apache.commons.logging. I applied the workaround provided on metalink note: 460448.1. I applied the changes in orion-application.xml file:
<imported-shared-libraries>
<remove-inherited name="apache.commons.logging" />
</imported-shared-libraries>
Now, upon deploying the ear file with the changes, its giving error during deployment:
oracle.oc4j.admin.deploy.api.J2EEDeploymentException: Operation failed with error:
Error parsing orion-application.xml at /u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/application-deployments/coverzones: Fatal error at line 90 offset 25 in file:/u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/applications/coverzones/: .<Line 90, Column 25>: XML-20201: (Fatal Error) Expected name instead of =.
I have searched a lot on metalink and on google about this error and have not got any pointers to look for root cause.
Oracle App Server Gurus, kindly help on this
regards
RajHI Jaap,
I checked the orion-application.xml file and I didn't found any typo error or syntax error in the specific xml tag for <imported-shared-libraries>. Below is the xml tag snippet:
<library path="ivjejb35.jar" /> <!-- needed for access beans in oc4j -->
<library path="wsdl4j.jar" />
<library path="CoverZones_DataBeans.jar"/>
<library path="CoverZones_Session_EJBClient.jar"/>
<library path="CoverZones_Request_Processors.jar" />
<imported-shared-libraries>
<remove-inherited name="apache.commons.logging" />
</imported-shared-libraries>
<principals path="principals.xml" />
The same ear file without the above changes has worked in another Ora10gAS 10.1.3.3 cluster setup and the application works successfully.
regards
Raj -
Error occurred while deploying ear file
Hello experts,
I am using NWDS (NW Version: 7.0.18). For a particular java file I am getting this error:
ERROR: Not deployed. Deploy Service returned ERROR:
20110728174758 Info : java.rmi.RemoteException: Error occurred while deploying ear file ./temp/deploy/work/deploying/WSPiloto.ear.
20110728174758 Info : Reason: None of the available containers recognized the components of application sap.com.avn/WSPiloto; it is not possible to make deploy. Most commonly used containers do not recognize the content of the application. Please contact the application vendor for details.
Appreciate your help to fix the issue.
Thanks in advance,
Guillermo,
devHi,
can you please check if the following note helps?
#1270242 -- None of the available containers recognized the components
(http://service.sap.com/sap/support/notes/1270242)
Best Regards,
Ervin -
Deploying web service ear file
Hi,
I've developed a simple web service using NetWeaver Developer studio 2.0.5 and created an .ear file for deployment to SAP WAS 6.2. While trying to load ear file from the deploy tool it throws an error - "Unable to load ear file". Has anyone seen this error before? Any problems with the NetWeaver and SAP WAS versions? Any suggestions on how to deploy a web service on SAP J2EE 6.2?Hi Dipesh,
well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
Hope that helps! -
Deploying ear file / Automatic Deployment /AS Deployment
Hello All,
i was trying to deploy a ear file of 100 mb in a10.1.3 Server on a specific oc4j instance.
The error is
Error initializing site OracleAS Java Web Site: No web-app named 'lib/axis' found in application '--WorkBrain' (found web-modules are: 'workbrain', 'axis')
As we all know this error message would have been throwed by Server during the process of parsing the application.xml while trying to deploy.
The entries on META-INF/application.xml are below
<web>
<web-uri>workbrain.war</web-uri>
<context-root>/</context-root>
</web>
</module>
<module id="WebModule_1066144042228">
<web>
<web-uri>lib/axis.war</web-uri>
<context-root>axis</context-root>
</web>
The same .ear file was tested on another oc4j instance.
We tried the Automatic Deployment method (dropping the .ear file in applications dir )
and restarted the oc4j instance.
This worked perfectly.
So what happens in the above two cases..
Why the Server stops the deployment through the AS console .?
Why the Server allows the same .ear file through automatic deployment.
In case if any one needs to refer to automatic deployment .
http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b14431/autodeploy.htm.
The .ear file is not corrupted iam able to unzip the file and i verified the presence of lib/axis .
Please Clarify....
Regards
PremHi Kaladhar,
See this thread same problem but solved:
Re: An Deploy Problem about Credentials.
Regards, Suresh KB -
Changing faces-config.xml after deploying ear file
Hi,
What would be the steps to follow if we want to change contenets of web application configuration files (for example, faces-config.xml) after app.ear file has been deployed?
The app.ear file contains the faces-config.xml, and we are using Oracle AS 10.1.3.
Thanks,
Jeansee my answer at
Change web app config file of deployed app -
9iAS version 1 EAR file deployment and UNIX directory permissions
We are running version 1.0.2.2 of OC4J, the deployment
directory seems to need world read/write to enable the
EAR file to deploy. The 9iAS admin user is part of the
group that owns the EAR file (and respective deployment
directory) but still cannot write to the
directory when permissions are set with chmod 755.
Thank you for any suggestions.One thing to try is in the JAR deployment profile for the EJB - stand on the File Groups node and click new to add a library group and make sure it includes the libraries/jar you added to your project.
If this doesn't help then you might want to try and cross post this on the OC4J forum:
OC4J -
Hi,
I'm trying to deploy spnego wizard ear into mi sap ep 7.02 with NWDS 7.02.02.
I can't find Deploy view.
How should I deploy the ear?
ThanxDear Daniel,
Hope you are doing good.
.EAr files can be deployed using the SDM application. As your server is 7.02, it will work. Mor info:
http://help.sap.com/saphelp_nw04/helpdata/en/63/2c4f65a54c4a4db1a3600397ae617f/content.htm
Else try the telnet application:
Please have a look at the below for more information:
http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTSG)
(Telnet)DeployController+Commands
and
http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae100000
00a11466f/frameset.htm
Thank you and have a nice day :).
Kind Regards,
Hemanth
SAP AGS -
Ear file created with Sun's deploy tool
Hello,
When I create ear files with the Deploy Tool of Sun can I deploy the
application directly, and it will work?
Thank you
KrisztianI want to deploy my application to IAS testdrive edition.
"Krisztian Maraczi" <[email protected]> wrote in message
news:9m56hk$[email protected]..
Hello,
When I create ear files with the Deploy Tool of Sun can I deploy the
application directly, and it will work?
Thank you
Krisztian -
How to Include Java sourcecode into EAR File in Web Dynpro
Hi Everyone,
There should be a setting in the developer studio , where in which we can include the source code into a EAR File after we build the source code.
I am unable to get this settings.
Please help me out
Regards,
RajHi,
Well i don't think any of the source codes comes under the ear file when you deploy your application. You can see this.
First open your project folder, here you will find the ear file.
Open the command prompt, change the location to the place where ear file is located and then enter :
jar xvf myearfile.ear
This will give the extract of the ear file.
thanks & regards,
Manoj
Maybe you are looking for
-
Hi SAP Gurus, Please provide me the list of BAPI's with its descriptions for SAP SRM module. regards, George.
-
Hi All I am placing my components in gridbag layout. When I place a combobox and say that it occupies 3 cell in x direction it only shows the size of the combobox to be equal to the maximum size of element contained in it. How can i make it fill all
-
Versions in Pages with iCloud sync
Hello I love the versions feature supported by the iWork apps that was introduced back with Mac OS 10.7. Right now I am working on a number of Pages documents intermittently on my Macbook Pro as well as my iMac and I use iCloud to always have them re
-
how to execute queries with the selected item in list box ? I want to have an sql queiry that will generate when someone selects an item in the list box. I know this is done in the where clause. But my skills in javascript are not that good. Can this
-
Calculate age from a date on numbers
I am trying to calculate age from a given date in the application numbers. The dates are all in the same column but i need to convert them to ages. I have not been able to find any formulas! Thanks