- This topic has 3 replies, 2 voices, and was last updated 14 years, 8 months ago by support-shalini.
-
AuthorPosts
-
3eclipseusersMemberI am using MyEclipse 6.6 and welogic 8.1 SP6. Deploying the application on the server through Myeclipse has been a problem. I have two issues:
1. When I deploy, even before the deployment finishes, weblogic throws an error:
weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\tams”.
at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:741)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:477)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:856)
at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:69)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1568)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1559)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:192)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:182)
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:755)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
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:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1139)
… 10 more
>2. Even if I get the application to deploy, by sometimes repeatedly deploying, sometimes restarting the server- the hot deploy does not work. If I change something in the jsps, the application gets updated but if I change something in the action classes, the application does not get updated and I get classCastException if I try to access the page.
My application is simple struts application.
support-shaliniMember3eclipseusers,
Please refer to the following link –
https://www.genuitec.com/forums/topic/no-j2ee-deployment-descriptor-found-exception-at-deploymen/
Also, I noticed that you are using an old version of MyEclipse. Is there any specific reason why you are using an older version?
The Current stable version is ME8.0. I would recommend you to upgrade to the latest version.
3eclipseusersMemberWe have Eclipse 3.3.2. So I downloaded ME6.6 which is compatible with 3.3 series. Not sure if the new version will work with Eclipse 3.3.2. We are using Java 1.4.
I have tried changing the weblogic.xml file. But it doesnt work. We have the following in our file<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<!DOCTYPE weblogic-web-app PUBLIC “-//BEA Systems, Inc.//DTD Web Application 8.1//EN”
“http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd”><weblogic-web-app>
<context-root>/xyz</context-root>
<jsp-descriptor>
<jsp-param>
<param-name>pageCheckSeconds</param-name>
<param-value>10</param-value>
</jsp-param>
<jsp-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor><container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>Also, when we use the ME to deploy, does it mean that changes we make in java code will get reflected without redeploying. I have been deleting the deployment and then deploying the application again, everytime I make changes in java code which takes up lot of time and like I said lot of times I get the error above.
support-shaliniMember3eclipseusers,
MyEclipse 8 is based on Eclipse 3.5.1 classic. you can download the latest version from http://www.myeclipseide.com/module-htmlpages-display-pid-4.html.Can you clarify if you are deploying in packaged mode or in exploded mode? When deployed in Exploded mode, changes made to the project are immediately reflected on the server.
Please refer to the following link –
http://www.myeclipseide.com/documentation/quickstarts/webprojects/#deploy_testing_debug -
AuthorPosts