Problems with deploying an EAR file (Geronimo)
hey guys,
i just want to deploy one EAR-File with two different deployment plans. however, i get the following problem, even if i change the groupId, artifactId,... in the environment and in the modules of the deployment plan, when i deploy the EAR with the second deployment plan (after deploying with the first one):
"Application cannot be deployed as it contains deployment ids which are in use"
but the ids are completely unique in my deployment plan
Does anybody know how to fix that problem, or how to deploy two application-instances with one and the same EAR ??
PLEASE HELP MEEE...! :D
Greetz, iTob
Edited by: -iTob- on May 28, 2009 4:15 AM
Apache Geronimo has a mailing list. Post the question there.
Kaj
Similar Messages
-
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 -
Problem While deploying an ear file
I created a ear file Which has a BeanHello.jar and BeanHello.war and an application.xml. I tried doing it like the petstore application of weblogic6.0. It is deploying on the server , But the internal components of the ear file is not being deployed . Kindly send me one small example.
We are also having the same problem with our application. And it works OK when
we deploy the ejb jars and Webapplication(war)separately.
We think we've followed all the steps in the WebLogic documentation, but same
as Meena, the internal components of our ear file is not being deployed. And when
we try to start Weblogic server, it throws the exceptions as below.
We'll highly appreciate any help. Thanks in advance.
Ting
[weblogic.xml.process.XMLProcessingException: Could not locate processor for public
id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN" - with nested exception:
[weblogic.xml.process.ProcessorFactoryException: Could not locate processor for
public id = "-//Sun Microsystems,Inc.//DTD J2EE Application 1.2//EN"]
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:85)
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:67)
at weblogic.management.mbeans.custom.Application.getDD(Application.java:602)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:499)
at weblogic.management.mbeans.custom.Application.load(Application.java:310)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
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:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy6.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:550)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:526)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:450)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:402)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:665)
"Amirthamurugaraj" <[email protected]> wrote:
U can take the petstore appplication as an example.
If everything U did with the creation of ear files and deployment goes
fine,
make ur application as the default application and try.
If that doesn't work for U,make sure the ejb(jar) and Webapplication(war)
are working when deployed separetly.
In addition to this,check for any exceptions in the console.
Reply back on success or any queries..........
Amirthamurugaraj.
Meena <[email protected]> wrote in message
news:[email protected]...
I created a ear file Which has a BeanHello.jar and BeanHello.war andan
application.xml. I tried doing it like the petstore application of
weblogic6.0. It is deploying on the server , But the internal components
of
the ear file is not being deployed . Kindly send me one small example. -
Problem while deploying the ear file in sap itc server
error loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missingerror loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missing -
[b]problem with deploy .war file
Hi
I am trying to deploy a war file. I have Oracle 9iAS (release 2) in Sun Solaris server.
I am using the enterprise manager gui to try to deploy a .war file as follows.
My .war file has the structure: folder META-INF, folder WEB-INF, and other folders. THe folder
WEB-INF has the file web.xml and the folder classes.
I connect to enterprise manager at port 1810 and go to the OC4J home page and under
deployed applications, I choose under applications "Deploy WAR file". It takes me to the next page
where I enter the war file (pippo.war)
Application Name: pippo
Map to URL: /pippo
THe only choice I have then is to click the Deploy button. I then get the response
"Failed to deploy web application "pippo". Jar file: /var/tmp/jar29056.tmp is missing its standard xml descriptor located at WEB-INF/web.xml"
In that path there is not that file, there are 2 folders, one with the file .war and one with the file .ear
I have no idea what this error message means.
The documentation for deploying servlets in 9ias using enterprise manager makes no mention of this.
Thanks,
MarcellaMarcella,
Are you using Oracle9iAS 9.0.3 ?
Does this happen with any war file ?
Are you able to deploy a ear file without problems ?
Can you please test if you can deploy your war in a
OC4J standalone environment ? steps from the general faq available at http://otn.oracle.com/tech/java/oc4j
How can I deploy a WAR file to OC4J standalone ?
The command line deployment tool (admin.jar) requires an EAR file as it's deployment archive. To deploy a WAR file using this, you must package the WAR file within a EAR file.
You can manually deploy a WAR file to OC4J However following are the steps involved in deploying a WAR file in OC4J.
1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
copy mywar.war D:\oc4j\j2ee\home\applications
2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
line:
<web-module id="mywar" path="../applications/mywar.war" />
3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
<web-app application="default" name="mywar" root="/mywar" />
In Oracle9iAS Release 2; deployment of applications is done either using EM or via the DCM commands.
thanks,
-Prasad -
Problem while deploying an ear
Hi,
i have a problem in deploying an ear which contains an ejb and with a web service which is already deployed in another ear.The error is
"Web service already exsits in the http service provider for that ear".
Now i need a solution for this problem .I need to deploy that ear with out deleting that web service in the previous ear.Please send me the related links and information and the way of doing it.Hi Bhogi,
Refer this link for deploying the ear files.<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/7d/dd813e77d46245e10000000a114084/frameset.htm">EJB Components ear deployment</a>
Go to the EJB Components in the left hand side once u r into the link.
Regards,
Nagarajan. -
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 -
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. -
Hi,
am trying to deploy an application with a ear file. iasdeploy deployapp -verbose myapp.ear in IAS6.0 with SP3 environment. i am getting the following error. does any body have a clue what does it mean ?. help is very much appreciated.
iasdeploy for iPlanet Application Server 6.0 SP3
Debug level set to on ..
Severity 1: Inside IasDeploy.main() ...
Connected to LDAP server on ldaptest.providian.com port 20700
Severity 1: Inside DeployJar server size ...1
Severity 1: Inside DeployJar Deployable action ...J2EEInstallEar
Severity 1: Inside DeployJar Deployable Name ...eds
Severity 1: Deploying to IAS, host name is ldaptest
Severity 1: SharedConfigServerGroup:Added: [ldaptest:20760]
Severity 1: Inside DeployJar .. DeployGroupList ..
Severity 1: Inside DeployJar .. before creating DeployThread..
Severity 1: DeployThread: a new thread created
Severity 1: Starting Connection Pool Manager
Severity 1: DeployEngine.logon...Logged on to server: [ldaptest:20760]
Severity 1: Inside DeployJar .. after forming DeployThread ..
Severity 1: DeployThread: Now sequentially for server: [ldaptest:20760]
Severity 1: Deployable Type : 1
Severity 1: Inside DeployJar .. after calling group Thread ..
Severity 1: executeRPC successful ..
Severity 1: The JAR Path is : /ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR
Severity 1: destination file : /ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear
Severity 1: Sending file : /apps/runtime/iplanet/eds_app/eds.ear
Severity 1: 1/ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear transferred
ldaptest:null
ldaptest:10 kas> deployment action ''J2EEInstallEar'' (/ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear) running.
Severity 1: DeployEngine.rpc_deploy_cmd: 10 kas> deployment action ''J2EEInstallEar'' (/ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear) running.
Severity 1: DeployLogListener: sending packet /ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear J2EEInstallEar
Severity 1: DeployLogListener:j2eeappreg -nodeprecated /ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear 2>&1 XXXXXXXX
ldaptest:j2eeappreg -nodeprecated /ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear 2>&1
Severity 1: DeployLogListener:10 Connected to LDAP server on ldaptest.providian.com port 20700 XXXXXXXX
ldaptest:10 Connected to LDAP server on ldaptest.providian.com port 20700
Severity 1: DeployLogListener:10 login page is being set to : XXXXXXXX
ldaptest:10 login page is being set to :
Severity 1: DeployLogListener:10 Module: eds XXXXXXXX
ldaptest:10 Module: eds
Severity 1: DeployLogListener:10 ------ Register Web Module: eds.war ------ XXXXXXXX
ldaptest:10 ------ Register Web Module: eds.war ------
Severity 1: DeployLogListener:10 WebAppName is eds XXXXXXXX
ldaptest:10 WebAppName is eds
Severity 1: DeployLogListener:10 [30/Apr/2002 11:39:58:4] info: GDS-007: finished a registry load XXXXXXXX
ldaptest:10 [30/Apr/2002 11:39:58:4] info: GDS-007: finished a registry load
Severity 1: DeployLogListener:10 WebAppName is eds XXXXXXXX
<B>ldaptest:10 WebAppName is eds
Severity 1: DeployLogListener:10 java.lang.NullPointerException XXXXXXXX
ldaptest:10 java.lang.NullPointerException
Severity 1: DeployLogListener:10 at java.lang.String.getBytes(Compiled Code) XXXXXXXX
ldaptest:10 at java.lang.String.getBytes(Compiled Code)
Severity 1: DeployLogListener:10 at com.kivasoft.util.GX.GDSSetKeyValueString(Compiled Code) XXXXXXXX
ldaptest:10 at com.kivasoft.util.GX.GDSSetKeyValueString(Compiled Code)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putServletToGDS(Compiled Code) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putServletToGDS(Compiled Code)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putAllServletsToGDS(Compiled Code) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putAllServletsToGDS(Compiled Code)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putWebAppDescriptorInGDS(Unknown Source) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.WebAppCompGDSUtil.putWebAppDescriptorInGDS(Unknown Source)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.WebAppReg.registerWebApp(Unknown Source) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.WebAppReg.registerWebApp(Unknown Source)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.J2eeAppReg.registerJ2eeApp(Compiled Code) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.J2eeAppReg.registerJ2eeApp(Compiled Code)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.J2eeAppReg.run(Unknown Source) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.J2eeAppReg.run(Unknown Source)
Severity 1: DeployLogListener:10 at com.netscape.server.deployment.J2eeAppReg.main(Unknown Source) XXXXXXXX
ldaptest:10 at com.netscape.server.deployment.J2eeAppReg.main(Unknown Source)
Severity 1: DeployLogListener:10 j2eeappreg done. XXXXXXXX
ldaptest:10 j2eeappreg done.</b>
Severity 1: DeployLogListener:20 kas> deployment action ''J2EEInstallEar'' (/ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear) complete. XXXXXXXX
ldaptest:20 kas> deployment action ''J2EEInstallEar'' (/ldapfs/apps/vendors/sun/iplanet/ias6/ias/JAR/eds.ear) complete.
ldaptest:
Finished deploying to ldaptest at [30/Apr/2002 11:40:05]
Severity 1: Removing [email protected]:20760Hi 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 -
Getting runtime error when i am deploying my ear file in weblogic8.1
I deployed my ear file into weblogic server, the below error i got in console of weblogic server. please tell where i need to setup class path. I am using eclipse as IDE and running the project in eclipse.
How can i set classpath in weblogic server ? Give me step by step please.
<May 25, 2006 8:13:45 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[ServletContext(id=19766836,name=MarketFusionCom.war,context-path=)] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Compilation of C:\bea\user_projects\domains\mydomain\marketfusioncom\jsp_servlet\__index.java failed.java.io.IOException: CreateProcess: javac -classpath "C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\extract\MarketFusionServer_MarketFusionCom_MarketFusionCom.war\MarketFusionCom.war;C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\MarketFusionCom\MarketFusionCom.jar;marketfusioncom;C:\Program Files\Java\j2re1.4.2_01\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_01\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_01\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_01\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_01\classes;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\wlcipher.jar;C:\bea\weblogic81\server\lib\jsafeFIPS.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\bea\weblogic81\server\lib\xmlx.jar;C:\bea\weblogic81\server\lib\ojdbc14.jar;C:\bea\weblogic81\server\lib\jconn2.jar;C:\bea\weblogic81\server\lib\jConnect.jar;C:\bea\weblogic81\server\lib\EccpressoAsn1.ja?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at weblogic.utils.Executable.exec(Executable.java:227)
at weblogic.utils.Executable.exec(Executable.java:156)
at weblogic.utils.Executable.exec(Executable.java:142)
at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
... 12 more
>Hi i got this same problem and i solved this
weblogic8 containing ejbcompiler supports only the jdk1.4 versioning class files
so plz compile u r java file with jdk1.4 version and deploy in weblogic8 . u r problem will be solved
Regards
Srinivasa Rao.Teki
Software Engineer
ITON Technologies
Tanuku, W.G.Dt, A.P,India
GSM: 9885504303 (+91) -
Problem with deploying : SDM could not start the J2EE cluster on the host .
Hello, All
I have following problem with deploying the aplication I get this messenger:
16/09/2008 07:59:44 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : 192.168.0.14
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
Result
=> deployment aborted : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
Aborted: development component 'ZChangeRequestDatabase'/'local'/'LOKAL'/'0.2008.05.03.04.24.17'/'0':
SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated. There is no cluster control instance running on host Jupiter which is described in SecureStorage . The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :|Name:JM_T1221612526745_0_penitus15 |Host:PENITUS15 |State:5|HostAddress:192.168.0.205||Name:JM_T1221612357814_0_Jupiter |Host:pfs |State:5|HostAddress:192.168.0.14||Name:JC_Jupiter_JTP_00 |Host:pfs |State:5|HostAddress:192.168.0.14|Please check if there is an appropriate running cluster instances.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
Deployment exception : The deployment of at least one item aborted
I dont'n know How do I solver this error?
- I reviewed the virtual memory and I increase the virtual memory
- I restarted the server and the system
- I reviwed the parameter in the config tool --> cluster --> security storage it is OK
Any suggestion for solver this problem
Thanks
Regards
DSI found this messenger in Additional log information., Please si
17/09/2008 03:04:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[004]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[C:\usr\sap\JTP\JC00\SDM\program\log\sdmcl20080917200328.log]/>
<!PATTERN[sdmcl20080917200328.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[Cp1252]/>
<!LOGHEADER[END]/>
Sep 17, 2008 1:04:40 PM Info: -
Starting deployment -
Sep 17, 2008 1:04:40 PM Info: Error handling strategy: OnErrorStop
Sep 17, 2008 1:04:40 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
Sep 17, 2008 1:04:40 PM Info: Update strategy: UpdateAllVersions
Sep 17, 2008 1:04:40 PM Info: Starting deployment prerequisites:
Sep 17, 2008 1:04:40 PM Info: Loading selected archives...
Sep 17, 2008 1:04:40 PM Info: Loading archive 'C:\usr\sap\JTP\JC00\SDM\program\temp\temp62604ZIssueDatabase.ear'
Sep 17, 2008 1:04:41 PM Info: Selected archives successfully loaded.
Sep 17, 2008 1:04:41 PM Info: Actions per selected component:
Sep 17, 2008 1:04:41 PM Info: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
Sep 17, 2008 1:04:41 PM Info: Ending deployment prerequisites. All items are correct.
Sep 17, 2008 1:04:43 PM Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15: PENITUS15
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs: pfs
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
Sep 17, 2008 1:04:45 PM Info: Saved current Engine state.
Sep 17, 2008 1:04:45 PM Info: Starting: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
Sep 17, 2008 1:04:45 PM Info: SDA to be deployed: C:\usr\sap\JTP\JC00\SDM\root\origin\local\ZIssueDatabase\LOKAL\0\0.2008.04.17.10.53.03\temp62604ZIssueDatabase.ear
Sep 17, 2008 1:04:45 PM Info: Software type of SDA: J2EE
Sep 17, 2008 1:04:45 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
Sep 17, 2008 1:04:45 PM Info: Starting cluster instance processes.
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
Sep 17, 2008 1:04:45 PM Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
Sep 17, 2008 1:04:45 PM Error: An error occured while starting a cluster instance.
Sep 17, 2008 1:04:45 PM Error: There is no clutser control instance running on host Jupiter which is described in SecureStorage .
The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
Name:JM_T1221672404781_2_penitus15
Host:PENITUS15
State:5
HostAddress:192.168.0.215
Name:JM_T1221679486171_0_Jupiter
Host:pfs
State:5
HostAddress:192.168.0.14
Name:JC_Jupiter_JTP_00
Host:pfs
State:5
HostAddress:192.168.0.14
Please check if there is an appropriate running cluster instances.
Sep 17, 2008 1:04:45 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Sep 17, 2008 1:04:45 PM Error: Aborted: development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0':
SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated.
There is no clutser control instance running on host Jupiter which is described in SecureStorage .
The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
Name:JM_T1221672404781_2_penitus15
Host:PENITUS15
State:5
HostAddress:192.168.0.215
Name:JM_T1221679486171_0_Jupiter
Host:pfs
State:5
HostAddress:192.168.0.14
Name:JC_Jupiter_JTP_00
Host:pfs
State:5
HostAddress:192.168.0.14
Please check if there is an appropriate running cluster instances.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
Sep 17, 2008 1:04:45 PM Info: Starting to save the repository
Sep 17, 2008 1:04:46 PM Info: Finished saving the repository
Sep 17, 2008 1:04:47 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Sep 17, 2008 1:04:47 PM Error: -
At least one of the Deployments failed -
Any help will be well received about this problema
Thk
Regards
DS -
Deployment of ear file - invalid file
Hi,
i'm trying to deploy an ear file using the ANT wldeploy tasks.
The file contains
- ejb (separate jar for the client interfaces)
- jpa persistence
- webapp.
The app server is 10.3.3
I can deploy the ear via eclipse with no problems on my local server.
When i try and publish/deploy on a remote server i get an error [Caused by: weblogic.deployment.EnvironmentException: duplicate persistence units with name . . .]
Hence the attept to depoy via ant. This method fails even on my local server. Saying the (ear) file is invalid.
It seems that the 'publish' action in eclipse performs modifications on the ear that the simple file->export->ear in eclipse doesnt do.
I then tried to package the the environment in the split directory structure (up until then i just used the standard eclipse setup - multiple java/j2ee projects).
That attempt failed at the wlappc stage. ArrayIndexOutofRange exception.
Any ideas ?
thanks,
MichaelHi Steve,
i've attached the stacktrace below.
It seems to me that the ear file is either unpacked incorrectly (ending up with two persistence xml files) or eclipse isn't packageing them the 'weblogic way'.
I found the cause of the ArrayIndexArrayOutofBounds exception when packageing with the wlappc task in the split directory setup: the references to the ejb and web modules in the application.xml have .jar/.war suffixes:
<module>
<ejb>ejbapp.jar</ejb>
removing these and the ear builds fine with wlcompile/wlappc. So i can package the ear using wlcompile/wlappc and deploy the ear manually via the admin console. unfortunately i still have to remove the suffixes. working on an xslt script to fix the suffixes.... :-)
cheers,
Michael
Remote deployment error from eclipse:
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:190)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:466)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1420)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:861)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:655)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:522)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: weblogic.management.DeploymentException:
at weblogic.application.internal.flow.ParseJpaDescriptorFlow.prepare(ParseJpaDescriptorFlow.java:44)
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.EarDeployment.prepare(EarDeployment.java:58)
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: weblogic.deployment.EnvironmentException: duplicate persistence units with name myapp_persistence in scope myapp. First PU location: file:/var/opt/oracle/middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user/myapp/upzgei/lib/myapp_persistence.jar. Second PU location: file:/var/opt/oracle/middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user/myapp/upzgei/APP-INF/lib/myapp_persistence.jar
at weblogic.deployment.AbstractPersistenceUnitRegistry.assertNoDuplicate(AbstractPersistenceUnitRegistry.java:313)
at weblogic.deployment.AbstractPersistenceUnitRegistry.processDescriptor(AbstractPersistenceUnitRegistry.java:291)
at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:192)
at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:101)
at weblogic.deployment.EarPersistenceUnitRegistry.<init>(EarPersistenceUnitRegistry.java:55)
at weblogic.application.internal.flow.ParseJpaDescriptorFlow.prepare(ParseJpaDescriptorFlow.java:39) -
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. -
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
Maybe you are looking for
-
IOS 7 Missed Notifications won't clear in the Missed section of Notification Center
I've litterally tried everything! Anytime I get a missed call it shows up under the missed section of notification center. I then tap it and call the person back but afterwards it still stays in the Missed section of Notification Center, it does not
-
We are using Sharepoint 2010 and Infopath 2010. In my form, I have a Managed Metadata field that I need to test for a Null value. I found, with the help of this forum's participatns, that a [field]_Changed event for one MMD field runs multiple time
-
IMPORTING PROBLEMS...EXTERNAL HARD DRIVE
1. Certain CD's get "stuck" importing...always on the first song...good cds, bad cds, previously imported CDs, some CDs from an artist will import and some from the same artist will not..ABSOLUTELY BAFFLED...any ideas 2. This is what I want to happen
-
Use HTML5 and FMS server 3.5 to share/play videos
Hi! We use FMIS (3.5) to distribute our videos, but how can I use HTML5 to view them without duplicating the video to the HTTP VOD directory. Can I point to the application FMS file location like I can with RTMP in some way? Thanks
-
Hi , I have an integration application developed on windows.I want to create an EAR from the same source on Linux.I have copied the source maintaining the folder hierarchy and updated the build.xml to suite Linux machine properties(app path,server cl