- This topic has 8 replies, 7 voices, and was last updated 18 years, 1 month ago by
rvksrinivas.
-
AuthorPosts
-
kaa4008Member– System Setup ——————————-
Operating System and version: WindowXP SP1
Eclipse version: 3.0.0
Eclipse build id: 200406251208
Fresh Eclipse install (y/n): Y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7 and they are
org.eclipse.pde.build_3.0.0
org.eclipse.pde.core_3.0.0
org.eclipse.pde.doc.user_3.0.0
org.eclipse.pde.junit.runtime_3.0.0
org.eclipse.pde.runtime_3.0.0
org.eclipse.pde.source_3.0.0
org.eclipse.pde.ui_3.0.0
MyEclipse version: 3.8beta1
Eclipse JDK version: 1.4.2_04
Application Server JDK version: 1.4.1_05 supplied with BEA WebLogic 8.1 SP2
Are there any exceptions in the Eclipse log file? No– Message Body ——————————-
I’m getting a “No J2EE deployment descriptor…”. If I look in the directory, there is a web.xml file under WEB-INF.
The console output is:
<Jul 1, 2004 10:46:43 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.1_05-b01 from Sun Microsystems Inc.>
<Jul 1, 2004 10:46:44 AM CDT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Jul 1, 2004 10:46:44 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 >
<Jul 1, 2004 10:46:44 AM CDT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at D:\bea\user_projects\domains\mydomain\config.xml.>
<Jul 1, 2004 10:46:48 AM CDT> <Notice> <Log Management> <BEA-170019> <The server log file D:\bea\user_projects\domains\mydomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
<Jul 1, 2004 10:46:52 AM CDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jul 1, 2004 10:46:52 AM CDT> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server “myserver” for domain “mydomain”>
<Jul 1, 2004 10:46:52 AM CDT> <Debug> <RJVM> <BEA-000571> <Network Configuration Detail for Channel “myserver”
Channel Weight 50
Accept Backlog 50
Login Timeout 5000ms
Max Message Size 10000000
Message Timeout 60s
Idle Timeout 65s
Tunneling Timeout 40s
Tunneling Ping 45s>
<Jul 1, 2004 10:46:58 AM CDT> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class “com.sun.tools.javac.Main”. Using the default javac compiler to compile JSPs.>
<Jul 1, 2004 10:47:06 AM CDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server “myserver” for domain “mydomain” running in Development Mode>
<Jul 1, 2004 10:47:06 AM CDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jul 1, 2004 10:47:06 AM CDT> <Notice> <WebLogicServer> <BEA-000355> <Thread “ListenThread.Default” listening on port 7001, ip address *.*>
<Jul 1, 2004 10:48:19 AM CDT> <Error> <Deployer> <BEA-149027> <Unable to activate application, _appsdir_stddata_dir, from source, D:\bea\user_projects\domains\mydomain\applications\stddata. Reason: [J2EE:160028]No J2EE deployment descriptor found at “D:\bea\user_projects\domains\mydomain\applications\stddata”.>
<Jul 1, 2004 10:48:19 AM CDT> <Debug> <Management> <BEA-141132> <Dynamic invocation while executing action activate on mydomain:Location=myserver,Name=DeployerRuntime,ServerRuntime=myserver,Type=DeployerRuntime MBean instance failed. The method activate with signature [java.lang.String, java.lang.String, java.lang.String, weblogic.management.deploy.DeploymentData, java.lang.String] was invoked with parameters as [D:\bea\user_projects\domains\mydomain\applications\stddata, _appsdir_stddata_dir, nostage, Delete Files:false
Timeout :3600000
Targets:
myserver: (Modules: null)Files:
null
, null].
weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “D:\bea\user_projects\domains\mydomain\applications\stddata”.
at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:729)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:470)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
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:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Jul 1, 2004 10:48:19 AM CDT> <Error> <Application Poller> <BEA-149410> <Runtime deployment error while deploying – weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “D:\bea\user_projects\domains\mydomain\applications\stddata”..
weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “D:\bea\user_projects\domains\mydomain\applications\stddata”.
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1098)
at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “D:\bea\user_projects\domains\mydomain\applications\stddata”.
at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:729)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:470)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
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:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
… 10 more
>
Riyad KallaMemberWe tracked this problem down a while ago, and its actually caused by WebLogic’s refresh time on directories being too short, so what is actually happening is that WebLogic is detecting that the web application has changed WHILE MyEclipse is deploying it, and before MyEclipse has copied out the web.xml file, and throwing this exception.
The solution in the other thread was to adjust WebLogic’s refresh interval to something more reasonable, like 10 or 15 seconds.
richtera_lmiMemberThe timeout might be a fix, but I have found that deploying a War file from MyEclipse deployment causes the problem whereas making a war file of the same content with an ANT task doesn’t. The only differences in the war file I have found so far is the fact that the ANT one has all the directories in the beginning of the zip file and then all the files follow. So it seems like a sequencing issue in the zip file. Does this make sense or am I going crazy?
Andy
Riyad KallaMemberAndy,
You might be onto something, we added a fix in 5.1 that will be out Monday to actually deploy projects depth-first to try and avoid conflicts like these. We hope it will help.@support-rkalla wrote:
Andy,
You might be onto something, we added a fix in 5.1 that will be out Monday to actually deploy projects depth-first to try and avoid conflicts like these. We hope it will help.I am getting the same error in 5.1.1
Riyad KallaMembermlbartonsr,
Can you explain your situation in a bit of detail? Are you using an exploded deployment to a running JBoss instance and getting the error?
dirbinhasMemberHow do I adjust weblogic’s refresh interval?
Scott AndersonParticipantYou need a weblogic.xml file (in the proper format, of course) in the WEB-INF directory of your web project that contains the following:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN" "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd"> <weblogic-web-app> <description>WebLogic Descriptor</description> <jsp-descriptor> <jsp-param> <param-name>pageCheckSeconds</param-name> <param-value>1</param-value> </jsp-param> <jsp-param> <param-name>debug</param-name> <param-value>true</param-value> </jsp-param> </jsp-descriptor> </weblogic-web-app>
BEA’s documentation has much more detail about what’s available, of course.
Thanks Buddy!
-
AuthorPosts