Deploy workshop EAR to nonworkshop domain
I have a application I developed using workshop. I have a basic domain running on Unix. I want to deploy the app to the domain. I tried creating a new workshop domain, but it wants me to configure a database. I don't have a database and for some reason pointBase isn't there. My app has nothing to do with database. I have no need for any workshop functions on the server. What do I have to remove from the EAR to make this work?
can you give me configuration details how you are deploying EAR remotely...
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 -
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.
-
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) -
Deploy portal application in platform domain
Hi,
can i deploy portal application in platform domain?
I have the EAR for an application developed in portal domain. Can i deploy the same application in platform domain?
Is there any document related to this subject?hi Selva Kumar:
Essentially your looking at developing a J2EE application and deploying it on the SAP Web Application Server. For that you would need to build a J2EE application / JAVA Project and bundle it into a EAR file. Deploy the EAR file onto the WAS and your good to go. For consuming the application u can use the dynpro platform for building the UI and add the developed application jars as reference projects. I hope this helps.
P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions -
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) -
Error While Deploying the Ear .
HI ,
I am getting an error while deploying my ear through Deploy Tool . the ear get loaded but fails to deploy... the error message i got is pasted below...
It gives error about EJBContainer, but the J2EE Engine's Visual Admin shows the service is runing
Any help is highly appreaciated
Eror Message.....
06/05/13 18:49:09 - ***********************************************************
06/05/13 18:49:10 - Start updating EAR file...
06/05/13 18:49:10 - start-up mode is lazy
06/05/13 18:49:12 - EAR file updated successfully for 2078ms.
06/05/13 18:49:12 - Start deploying ...
06/05/13 18:49:14 - EAR file uploaded to server for 1172ms.
06/05/13 18:49:16 - ERROR: Not deployed. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/omnidocs_ejb..
Reason: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:539)
... 10 more
Caused by: java.lang.NoClassDefFoundError: com/newgen/omni/jts/txn/NGOServerInterface
Loader Info -
ClassLoader name: [Deployment:Runtime:sap.com/omnidocs_ejb]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:cross
interface:ejbserialization
Resources:
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\deploy\1147526354539
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\deploy\1147526354539\omnidocs_ejb.jar
Loading model: {parent,references,local}
The error occurred while trying to load "com.newgen.omni.jts.txn.oracle.docdb.NGOConnectCabinet".
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
at com.sap.engine.services.ejb.deploy.verifier.CheckUtils.loadClass(CheckUtils.java:25)
at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:42)
at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:82)
at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:46)
at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2144)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
... 16 more
For detailed information see the log file of the Deploy Service.
06/05/13 18:49:16 - ***********************************************************
<b></b>Hi
I would suggest you to do the deployment of the EAR using NWDS rather that using deploy tool. for Doing this please follow this link for creating ,building and deplopying as ear using dev studio
http://help.sap.com/saphelp_nw04/helpdata/en/08/51ec41b9a24f4a8359c61ae4a02db1/frameset.htm
Anyways if you ar still tied up using deploy tool pleas cross verify that all the dependent jars (including jars which NgoServerinterface will beusing internally has to be in the classpath . Would be great if you can post the stack trace
hope this helps !<b> please mark points for helpful answers .</b>
regards
rajeshkr -
Hello,
Using the ADF Runtime Installer for JBoss found in JDeveloper 10.1.3.0.4, i've received deployment error during startup of JBoss. The error message as displayed in the console window as follows:
09:29:16,325 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@89f00429 { url=file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear }
deployer: org.jboss.deployment.EARDeployer@3a835d
status: Deployment FAILED reason: Could not create deployment: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp65518bc4j.ear-contents/webapp.war; - nested throwable: (org.jboss.ws.WSException: java.lang.ClassNot
FoundException: oracle.jbo.server.emd.EMDServlet)
state: FAILED
watch: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear
altDD: null
lastDeployed: 1146014956309
lastModified: 1146014950147
mbeans:Above it there is a lot more lines of stack trace, tell me if you need it to help me with this problem. The file structure deployed is as follows (Based on the log displayed in JDeveloper):
In deploy directory
bc4j.ear
In jlib directory
bc4jdomgnrc.jar
In lib directory
adf-connections.jar
adfbinding.jar
adfcm.jar
adfm.jar
adfmtl.jar
adfmweb.jar
adfshare.jar
adfui.jar
antlr.jar
bc4jct.jar
bc4jctejb.jar
bc4jdomgnrc.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
cache.jar
collections.jar
commons-cli-1.0.jar
commons-el.jar
concurrent.jar
datatags.jar
dc-adapters.jar
dms.jar
http_client.jar
jazncore.jar
jdev-cm.jar
jsp-el-api.jar
mdds.jar
mdsrt.jar
ojdbc14.jar
ojdbc14dms.jar
ojdl.jar
ojpse.jar
oracle-el.jar
oraclepki.jar
orajaxr.jar
orasaaj.jar
orawsdl.jar
orawsrm.jar
ordhttp.jar
ordim.jar
osdt_cert.jar
osdt_core.jar
osdt_saml.jar
osdt_wss.jar
osdt_xmlsec.jar
regexp.jar
runtime12.jar
share.jar
toplink.jar
translator.jar
wsclient.jar
wsdl.jar
wssecurity.jar
xml.jar
xmlef.jar
xmlparserv2.jar
xsdlib.jar
xsqlserializers.jar
xsu12.jar
And another thing, is there any way to have the ADF Runtime Installer install the ADF Runtime into another JBoss config directory. As far as I noticed, it will only install into the JBoss default config directory.
TQ in advance.Hi Cleber,
Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
Regards,
Lisa
JDev QA -
Error while deploying Java EAR including flex
I am developing Flex + Java in RAD 6.0, codes run correctly.
But when I want to deploy the ear file of the whole application.
Error is raised while deploying the flex folder under
WEB-INF. Following the detailed information:
Anyone know how to solve this error? Thank you.
om.ibm.wtp.common.wft.util.WFTWrappedException: Error
exporting EAR file.
com.ibm.etools.j2ee.commonarchivecore.exception.SaveFailureException:
WEB-INF/flex/.#remoting-config.xml.1.3
!Stack_trace_of_nested_exce!
org.eclipse.core.internal.resources.ResourceException:
Resource /centrakDemo/WebContent/WEB-INF/flex does not exist.
at
org.eclipse.core.internal.resources.Resource.checkExists(Unknown
Source)
at
org.eclipse.core.internal.resources.Resource.checkAccessible(Unknown
Source)
at
org.eclipse.core.internal.resources.File.getContents(Unknown
Source)
at org.eclipse.core.internal.resourceswhat is the actual filename of the remoting-config file?
Is is exactly ".#remoting-config.xml.1.3"? I'm not sure the #
is a legitimate filename character. Looks to me like you're
intending to exclude this file and are 'commenting it out'. Try
removing the file completely, or rename it to something that's
legit. You should be able to find the source for
org.eclipse.core.internal.resources.Resource.checkExists on google
if that doesn't work, and see what it's doing.
Tim -
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 while deploying the ear fie
When I try to deploy the EAR file from the Netweaver Studio to the CE environment getting the below error..I am using both trial versions and this is my first application trying to test. Is there any preliminary configuration we need to do.
Please help me out in resolving the error.
Aug 11, 2007 1:17:00 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[002]Deployment aborted
Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !Hi,
<b><u>Just restart the server and try deploying again</u>.</b>
Also refer to following links.
<b>How to configure "J2EE Engine/SDM" and Deploy new archive and run</b> - How to configure "J2EE Engine/SDM" and Deploy new archive and run
<b>SDM Error when Deploying Web Dynpro Application</b> - Cannot determine sdm host error
<b>error SDM "Deployment exception : Cannot determine sdm host (is empty). "</b> - error SDM "Deployment exception : Cannot determine sdm host (is empty). "
<b>Error: Cannot determine sdm host (is empty).</b> - Deploy Error: Cannot determine sdm host (is empty).
<b>Deploy Error: Cannot determine sdm host (is empty).</b> - Deploy Error: Cannot determine sdm host (is empty).
I hope this will help you.
Regards,
Vaibhav -
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
Maybe you are looking for
-
C20 camera not working after update to TC7.2.1
Hi, The codec was version TC4.2.1 and everything was working great. We updated the codec to TC7.2.1 and now the camera is not detected by the codec. The bottom-left LED on the camera is white (greenish). We tried to downgrade the codec to TC4.2.4 but
-
Webcam not showing up in usb list
I bought a Creative VF0415 Live! Cam Vid. IM Ultra. It works right out of the box with iChat and PhotoBooth. But it doesn't show up in the list of usbs on my computer. Would any one happen to know why? I'm curious as to why. Thanks! Cathy
-
HTTP error: 401 (unauthorized) "Error in configSet"
Hi , I am getting this error "HTTP error: 401 (unauthorized) "Error in configSet" in the following scenarios. A. Creating a content repository from SAP in T-code "CSADMIN" B.Accessing the http://<domainname>:<portno> If i give complete URL it is wo
-
I've been busy the past hour looking for the update for bookmarks so we can add a bookmark in multiple folders without having the first bookmark automatically being deleted when adding the same bookmark to a different bookmark folder.
-
BDC Error in background 'The difference is too large for clearing'
Hi, In foreground the BDC session runs perfectly and errors only when the program is running in the background. In background, the following messages are captured. Select line items first of all FB05 1 SAPMF05A 0300 163 items were sel