Ever-expanding file w/ "Deploy to EAR file"
If I don't delete any pre-existing EAR file in JDeveloper prior to choosing "Deploy to EAR file" for my application, JDeveloper seems to include the existing EAR file in the new EAR file, such that my EAR file grows with each deployment each time, from 60K to 120K to 240K to ... 10, 20 megabytes, etc. I can only get a clean "deploy to ear file" (chosen from right-clicking on the .deploy file in the Navigator) if I first delete the existing ear file. Is there a way to get JDeveloper to not do this, in case I forget to delete from disk first? Thanks.
I am exporting using the default settings for QT conversion for Broadband high quality. I didn't mess with any settings other than that. Any ideas?
Similar Messages
-
Hi,Can a WAR file be deployed as EAR file and vice versa.
Hi,Can a WAR file be deployed as EAR file and vice versa.If so what are the changes we need to do.
hi tel me in detail why u want 2 do that
why u want to cnvert a web arch into enterp arch -
Problems regarding the manifest file in deploying an ear file
I have developed one jar file(classes.jar) for my all my classes built.
I have now one ejb module jar file which refers to my classes.jar throgh the mainfest.mf file of ejbmodule.jar file.
I have one war file(web pplication) which also refers to my classes.jar file throgh its manifest.mf file.
I am now making an ear file of all these (classes.jar,ejbmodule.jar and web.war).
All these are at the same level.
Now when the server starts,it needs some classes to refer.
The deployed ear should be able refer to my classes.jar through the
manifest.mf of the ejb as well as the web module file.
But it not refering.I dont know what is the problem.
<b>
Manifest-Version: 1.0
Class-Path: classes.jar
Created-By: 1.4.2 (Sun Microsystems Inc.)
</b>
Is there something else I need to do?if you structure is:
myear.ear
-->myejb.jar
-->mywar.war
-->classes.jar
-->META-INF
---->manifest.mf
---->application.xml
and the manifest myejb.jar and mywar.war are:
Manifest-Version: 1.0
Class-Path: classes.jar
Created-By: 1.4.2 Sun Microsystems Inc.
all is fine.
perhaps your error is when you startup the server. Can you send me you error when is starting server?
Message was edited by:
javichin -
Deploying the .ear file on weblogic 10.3.
I Am deploying the .ear file on weblogic 10.3. but we got the exception on deployment time mention below in mail.
1*. Unable to access the selected application.*
*2. Exception in AppMerge flows' progression*
*3. Exception in AppMerge flows' progression*
*4. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
*5. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
any body help me.Thanks in advance.Hi Crimsonious,
Did u solve your problem because i am having the same issue right now!
Carl -
Error while deploying the EAR file
Hi,
We are trying to deploy an EAR file (created through NWDS) using the SDM. But while deploying we are getting the following exception:
com.sap.sdm.util.sduread.IllFormattedSduFileException:Error during attribute reading: received exception: Error in opening zip file
Does this has something to do with the application or is it related with the WinZip software?
We deployed the same application with the same configuration previously, at that time it got deployed without any issues.
Please reply.
Thanks & regards,
SujitHi,
This is due to the corruption of EAR file, Check whether the Ear File is correct or if it has been Corrupted. Because it is unable to Read the File. If it is Corrupted just Create a New EAR file.
Regards,
Sharma. -
Error after Deploying a .ear File
Hi,
I have deployed an .ear file on the SAP J2EE engine 6.20 on EP6.0 sp2. When I access one of the JSP's, I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
Please reply ASAP
Thanks
Bhanuhello,
have you tried including the 3rd party jar in your EAR file itself?
i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
regards,
wentao -
Error deploying a .ear file - Urgent
Hi,
I am trying to deploy an .ear file on the SAP J2EE engine. I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
Please reply ASAP
Thanks
Bhanuhello,
have you tried including the 3rd party jar in your EAR file itself?
i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
regards,
wentao -
Deploying a .ear file and SDN is stopped
I am trying to deploy a .ear file - but it tells me SDN is stopped - what is this and how do I start it? Thanks - Janet
janet,
I suppose it is SDM is stopped. u have to deploy ear file with SDM which is found in C:/usr/sap/JKS/JC00/SDM/program
u will have remoteGui.bat.
use it for deploying the ear file.
u can check using the sap console u will see SDM Started.
thanks
Venkata Naidu bandi -
Out of Memory Error While deploying as EAR file
Hai,
I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
Please help me regarding this issue.You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server. -
Deploy the .ear file in Oracle 10g Application server10.1.3
Hi Friends,
I have deploy the .ear file in Oracle10g Application Sever 10.1.3 through Enterprise Manager. in Progress Messages shows the application has been successfully deployed,like this
when i hit the URL in Web brower, i got a HTTP 403 showing.............
Plz help me ..............
Sep 27, 2008 12:11:41 PM] Application Deployer for BO13 STARTS.
[Sep 27, 2008 12:11:41 PM] Copy the archive to C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear
[Sep 27, 2008 12:11:42 PM] Initialize C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear begins...
[Sep 27, 2008 12:11:42 PM] Unpacking BO13.ear
[Sep 27, 2008 12:11:49 PM] Done unpacking BO13.ear
[Sep 27, 2008 12:11:49 PM] Unpacking backoffice.war
[Sep 27, 2008 12:11:53 PM] Done unpacking backoffice.war
[Sep 27, 2008 12:11:53 PM] Unpacking backoffice-help.war
[Sep 27, 2008 12:11:57 PM] Done unpacking backoffice-help.war
[Sep 27, 2008 12:11:57 PM] Unpacking resourceadapter-rar.rar
[Sep 27, 2008 12:11:57 PM] Done unpacking resourceadapter-rar.rar
[Sep 27, 2008 12:11:58 PM] Initialize C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear ends...
[Sep 27, 2008 12:11:58 PM] Starting application : BO13
[Sep 27, 2008 12:11:58 PM] Initializing ClassLoader(s)
[Sep 27, 2008 12:11:58 PM] Initializing EJB container
[Sep 27, 2008 12:11:58 PM] Loading connector(s)
[Sep 27, 2008 12:11:59 PM] Starting up resource adapters
[Sep 27, 2008 12:11:59 PM] Processing EJB module: shared-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: store-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: storeops-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: parameter-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: report-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: scheduler-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: workflow-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: item-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: employee-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: employee-webapp-app-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: journal-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: label-webapp-app-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: label-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: timemaintenance-ejb.jar
[Sep 27, 2008 12:11:59 PM] Processing EJB module: timemaintenance-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: party-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: transaction-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: customer-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: calendar-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: currency-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: financial-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: till-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: tax-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: postprocessor-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: codelist-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: pricing-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: trigger-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: report-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: parameter-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: item-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: store-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: admin-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: dashboard-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: storeops-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: pricing-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: task-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: storeserver-webapp-app-ejb.jar
[Sep 27, 2008 12:12:00 PM] Processing EJB module: transaction-webapp-app-ejb.jar
[Sep 27, 2008 12:12:11 PM] Compiling EJB generated code
[Sep 27, 2008 12:12:58 PM] Initializing EJB sessions
[Sep 27, 2008 12:12:58 PM] Committing ClassLoader(s)
[Sep 27, 2008 12:12:58 PM] Initialize backoffice begins...
[Sep 27, 2008 12:12:58 PM] Initialize backoffice ends...
[Sep 27, 2008 12:12:58 PM] Initialize backoffice-help begins...
[Sep 27, 2008 12:12:58 PM] Initialize backoffice-help ends...
[Sep 27, 2008 12:12:58 PM] Started application : BO13
[Sep 27, 2008 12:12:58 PM] Binding web application(s) to site default-web-site begins...
[Sep 27, 2008 12:12:58 PM] Binding backoffice web-module for application BO13 to site default-web-site under context root backoffice13dev
[Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.springframework.web.context.ContextLoaderServlet for web application backoffice
[Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.quartz.ee.servlet.QuartzInitializerServlet for web application backoffice
[Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.apache.struts.action.ActionServlet for web application backoffice
[Sep 27, 2008 12:13:05 PM] Binding backoffice-help web-module for application BO13 to site default-web-site under context root backoffice-help
[Sep 27, 2008 12:13:05 PM] Initializing Servlet: oracle.help.web.OHWController for web application backoffice-help
[Sep 27, 2008 12:13:06 PM] Initializing Servlet: oracle.cabo.servlet.UIXServlet for web application backoffice-help
[Sep 27, 2008 12:13:06 PM] Binding web application(s) to site default-web-site ends...
[Sep 27, 2008 12:13:06 PM] Application Deployer for BO13 COMPLETES. Operation time: 85020 msecs
Thanks
HariCan you tell me what's the status of components (value of "In sync" column) when you run "dcmctl getState" command?
Thanks
Shail -
Problem in deploying an ear file in weblogic 8.1 SP5
Hi,
When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
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)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
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)
The config.xml is
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
<Server ListenAddress="" ListenPort="7001" Name="myserver"
NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" Name="myserver"/>
</Server>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<JDBCConnectionPool
DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
Targets="myserver" TestConnectionsOnReserve="true"
TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
<JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
PoolName="LiferayPool" Targets="myserver"/>
<Security Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<EmbeddedLDAP
CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
<SecurityConfiguration
CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
Name="mydomain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServermyserver"
Store="FileStore" Targets="myserver">
<JMSQueue CreationTime="1155021233552"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
<JMSQueue CreationTime="1155021233723"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
</JMSServer>
<MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
</Domain>
The ejb-jar.xml is :
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>CounterServiceEJB</display-name>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<home>com.liferay.counter.service.ejb.CounterServiceHome</home>
<remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
<ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/LiferayPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>mail/MailSession</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked />
<method>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>
The weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Please Help!
Thanks in Advance.
- KarthikeyanHi,
I am still getting the error even after changing the JNDI name.
The modified weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>mail/MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Thanks..
- Karthikeyan -
When I try to hot deploy an ear file I get the following error message in the log
file
<Nov 15, 2002 9:05:18 AM PST> <Error> <J2EE> <Error undeploying application asd:
null> <Nov 15, 2002 9:05:18 AM PST> <Error> <Management> <InvocationTargetException
setting attribute Deployed on MBean mydomain:Location=myserver,Name=asd,Type=ApplicationConfig
to value false. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean)
throws weblogic.manageme nt.DeploymentException,weblogic.management.UndeploymentException
java.lang.NullPointerException at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300) at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:451)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:434)
at weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebAppServletContext.java:3805)
at weblogic.servlet.internal.WebAppServletContext.shutdown(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletContextManager.removeContext(ServletContextManager.java:153)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519) at weblogic.j2ee.WebAppComponent.undeploy(WebAppComponent.java:90)
at weblogic.j2ee.Application.undeploy(Application.java:285) at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:232)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
--------------- nested within: ------------------ weblogic.management.UndeploymentException:
- with nested exception: [java.lang.NullPointerException] at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:248)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
>Hi Chandra,
One of the reason for this problem could be that
your LDAP server has got corrupted. To verify that
if possible, try to deploy this in any other
instance of application server pointing to a
different LDAP.
Another reason could be, problem with your
build.xml file. Did you build this myapp.ear
from scratch or did you use the build.xml from
one of our sample application?
If you have used one of our sample application
build.xml, there is a high possibility that
you might not have changed the name of your
application in one of the entries.
Thank you -
Deploying an ear file in Sun Web Server
I have an ear file that we use to deploy to weblogic. Is it possible to deploy an ear file to Sun WEb Server 6.0? Instead of deploying the war files one-by-one?
If yes, what are the steps?
Thanks.
BethNo, Sun ONE Web Server does not support ear files; ear files are typically the domain of J2EE application servers.
-
Deploying an EAR file to Oracle Server
I went thru the documentation and created an EAR file but when we try to deploy it we get the following error: Application1.ear file – error on upload:
Failed in uploading archive. Invalid archive file: unexpected EOF
I have searched the forums and chat rooms trying to find a solution. Can anyone suggest something. Thanks.Hi,
did you create it with JDeveloper and if, which version. Did you create a WAR file first or an EAR file straight - in which case probably its missing the Web application. How did you deploy it? From JDeveloper or with OC4J or ApplicationServer Enterprise Manager?
Frank -
WLS 6.1, SP1, Solaris 8.
When deploying an ear file, I get this stack trace:
javax.management.MBeanException
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:979)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:932)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:917)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:620)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy13.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:837)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:936)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:856)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:772)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:272)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:146)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy5.start(Unknown Source)
at weblogic.management.Admin.startApplicationManager(Admin.java:1155)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
with this error message:
<Mar 5, 2002 3:15:10 PM GMT+00:00> <Error> <Management> <Error deploying application
./config/lnuatgorwlsdomain2/applications/NostroCheck.ear: java.lang.reflect.UndeclaredThrowableException>
A number of other people in other newsgroups have had similar problems, but no
good concrete answers so far.
This has only recently started to happen, and only on Solaris. Ear file deploys
just fine on NT (same version/SP of WLS on both environments).
Attached is a segment of log file which may give someone more details.
simon.
[weblogic-error-log-segment.txt]Can you show us the full stack trace / error message?
-- Rob
Bala wrote:
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala.
Maybe you are looking for
-
How do I connect Apple TV (3rd) to device without HDMI input?
I am trying to connect my Apple TV to an inFocus 70+ projector. The project has a "computer input" jack which resembles a DVI connector but is really a M1-D connection. It also has an s-video input and a composite video input. I purchased a HDMI t
-
Using one controller as primary DHCP server for 2 or more controllers
Here's my setup 2 - 5508 controllers (40 APs per controller) running 6.0.196.0 (100 user license per controller) about 80 mixed - 1142 and 1252 APs, trying to put 40 APs on each controller One subnet connects two controllers together on the managemen
-
How to change the location of the "Diamond" on the Timeline
I am new to Flash and using it for just about a month. I created a series of approximately ten layers all with motion tweens. The basic drift is that a series of "letters" are moving from right to left and so on. Eventually they all land at the sa
-
Adding BIS accounts for a device linked to BES Exchange server
Please could somone guide me in terms of how to add BIS accounts and a BES account to the same device. The handset I am using is a Curve 8520 running OS5.0.0.592. I upgraded the OS from 4.6 to 5 today. I have been using this handset for a long time,
-
I have some code needed in my template that should not be seen within Contribute in edit mode (i.e <noscript></noscript> etc). Up to now the trick was to put said code in include files so that Contribute would not show them, but recently for some rea